[PATCH] D42655: [LivePhysRegs] Fix handling of conditional return instructions.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 11:32:31 PST 2018


efriedma added inline comments.


================
Comment at: lib/CodeGen/LivePhysRegs.cpp:232
   } else {
     // For the return block: Add all callee saved registers.
     const MachineFrameInfo &MFI = MF.getFrameInfo();
----------------
kparzysz wrote:
> Shouldn't we be doing this even for conditional returns?
I... guess so?

I'll try to come up with something more obviously correct.


Repository:
  rL LLVM

https://reviews.llvm.org/D42655





More information about the llvm-commits mailing list