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

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 06:21:23 PST 2018


kparzysz 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();
----------------
Shouldn't we be doing this even for conditional returns?


Repository:
  rL LLVM

https://reviews.llvm.org/D42655





More information about the llvm-commits mailing list