[PATCH] D13180: LivePhysRegs: Fix live-outs of return block.

hfinkel@anl.gov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 16:30:59 PDT 2015


hfinkel added a subscriber: hfinkel.
hfinkel accepted this revision.
hfinkel added a reviewer: hfinkel.
hfinkel added a comment.
This revision is now accepted and ready to land.

LGTM.

Indeed, the only current users of this are in ARM/ARMLoadStoreOptimizer.cpp and ARM/Thumb1FrameLowering.cpp, but looking at the way that ARMLoadStoreOpt::findFreeReg and ARMLoadStoreOpt::moveLiveRegsBefore work, it seems that this fix will prevent a problem should shrink-wrapping be enabled.


Repository:
  rL LLVM

http://reviews.llvm.org/D13180





More information about the llvm-commits mailing list