summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/ppc-redzone-alignment-bug.ll
AgeCommit message (Collapse)Author
2017-07-11[PPC] Fix two bugs in frame lowering.Tony Jiang
1. The available program storage region of the red zone to compilers is 288 bytes rather than 244 bytes. 2. The formula for negative number alignment calculation should be y = x & ~(n-1) rather than y = (x + (n-1)) & ~(n-1). Differential Revision: https://reviews.llvm.org/D34337 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307672 91177308-0d34-0410-b5e6-96231b3b80d8