[PATCH] D45524: Fix incorrect choice of callee-saved registers save/restore points

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 11 10:57:29 PDT 2018


junbuml added inline comments.


================
Comment at: lib/CodeGen/ShrinkWrap.cpp:265
+
+  const TargetLowering *TLI = MI.getMF()->getSubtarget().getTargetLowering();
   for (const MachineOperand &MO : MI.operands()) {
----------------
Why don't we make it as a member variable? 


Repository:
  rL LLVM

https://reviews.llvm.org/D45524





More information about the llvm-commits mailing list