[PATCH] D89451: [SystemZ] Mark unsaved argument R6 as live throughout function

Ulrich Weigand via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 17:30:53 PDT 2020


uweigand added inline comments.


================
Comment at: llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp:369
+        MachineInstrBuilder(MF, MBB.back())
+          .addReg(SystemZ::R6D, RegState::Implicit);
+    }
----------------
Just one question here: do we need to explicitly add this use?  If I followed your description in the bugzilla correctly, all callee-saved register are implicitly considered used at the end of the return block?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89451/new/

https://reviews.llvm.org/D89451



More information about the llvm-commits mailing list