summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/pr45432.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PowerPC] Do not assume operand of ADDI is an immediateNemanja Ivanovic2020-06-231-0/+52
After pseudo-expansion, we may end up with ADDI (add immediate) instructions where the operand is not an immediate but a relocation. For such instructions, attempts to get the immediate result in assertion failures for obvious reasons. Fixes: https://bugs.llvm.org/show_bug.cgi?id=45432 (cherry picked from commit a56d057dfe3127c111c3470606c04e96d35b1fa3)
OpenPOWER on IntegriCloud