[PATCH] D21395: Fix for Bug 28144
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 08:02:09 PDT 2016
mehdi_amini added inline comments.
================
Comment at: include/llvm/CodeGen/MachineRegisterInfo.h:712
@@ -711,3 +711,3 @@
/// UsedPhysRegMask.
- bool isPhysRegModified(unsigned PhysReg) const;
+ bool isPhysRegModified(unsigned PhysReg, bool SkipNoReturnDef = false) const;
----------------
Document the new parameter
================
Comment at: lib/CodeGen/MachineRegisterInfo.cpp:512
@@ +511,3 @@
+ if (!SkipNoReturnDef)
+ if (isNoReturnDef(MO))
+ continue;
----------------
Merge the two if with `&&`
http://reviews.llvm.org/D21395
More information about the llvm-commits
mailing list