summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb/remove-unneeded-push-pop.ll
Commit message (Collapse)AuthorAgeFilesLines
* [ARM] Fix constant islands pass.Roger Ferrer Ibanez2017-02-221-0/+1052
The pass tries to fix a spill of LR that turns out to be unnecessary. So it removes the tPOP but forgets to remove tPUSH. This causes the stack be misaligned upon returning the function. Thus, remove the tPUSH as well in this case. Differential Revision: https://reviews.llvm.org/D30207 llvm-svn: 295816
OpenPOWER on IntegriCloud