[PATCH] D41737: [PowerPC] Try to move the stack pointer update instruction later in the prologue and earlier in the epilogue
Eric Christopher via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 13:38:07 PST 2018
echristo accepted this revision.
echristo added a comment.
This revision is now accepted and ready to land.
One inline comment and nit, but then I'm ok with this. Should elaborate about why we're doing this in the commit message.
================
Comment at: lib/Target/PowerPC/PPCFrameLowering.cpp:1217
int Offset = MFI.getObjectOffset(CSI[I].getFrameIdx());
+ if (movingStackUpdateDown) {
+ Offset -= NegFrameSize;
----------------
No braces here. Also comment.
https://reviews.llvm.org/D41737
More information about the llvm-commits
mailing list