[PATCH] D88924: [X86] Move findDeadCallerSavedReg() into X86RegisterInfo

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 6 16:41:50 PDT 2020


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/X86/X86RegisterInfo.cpp:797
+                                        MachineBasicBlock::iterator &MBBI,
+                                        bool Is64Bit) const {
+  const MachineFunction *MF = MBB.getParent();
----------------
I was going to ask if you could just use the Is64Bit member in X86RegisterInfo. But it doesn't look like this argument is used at all.


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

https://reviews.llvm.org/D88924



More information about the llvm-commits mailing list