[PATCH] D15320: CodeGen: Redo analyzePhysRegs() and computeRegisterLiveness()

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 7 18:36:46 PST 2015


MatzeB added inline comments.

================
Comment at: include/llvm/CodeGen/MachineInstrBundle.h:169
@@ -169,4 +168,3 @@
   struct PhysRegInfo {
-    /// Clobbers - Reg or an overlapping register is defined, or a regmask
-    /// clobbers Reg.
-    bool Clobbers;
+    /// A regmask clobbers Reg.
+    bool Clobbered;
----------------
sanjoy wrote:
> Please add a one-liner about what 'clobbers' means.
I hopefully made it more clear what this flag means and referenced MachineOperand::CreateRegMask() for a definition of what the bits in the regmask mean.


Repository:
  rL LLVM

http://reviews.llvm.org/D15320





More information about the llvm-commits mailing list