[llvm] r267638 - [MachineInstrBundle] Update the comment for PhysRegInfo::DeadDef.

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 16:55:42 PDT 2016


Author: qcolombet
Date: Tue Apr 26 18:55:41 2016
New Revision: 267638

URL: http://llvm.org/viewvc/llvm-project?rev=267638&view=rev
Log:
[MachineInstrBundle] Update the comment for PhysRegInfo::DeadDef.

I missed read the comment when I commited r267621 and thought the
comment did not need update. Matthias kindly proved me wrong.
Fixing that.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineInstrBundle.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineInstrBundle.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineInstrBundle.h?rev=267638&r1=267637&r2=267638&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineInstrBundle.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineInstrBundle.h Tue Apr 26 18:55:41 2016
@@ -183,8 +183,10 @@ public:
     /// Reg or a super-register is read. The full register is read.
     bool FullyRead;
 
-    /// Reg is FullyDefined and all defs of reg or an overlapping register are
-    /// dead.
+    /// Either:
+    /// - Reg is FullyDefined and all defs of reg or an overlapping
+    ///   register are dead, or
+    /// - Reg is completely dead because "defined" by a clobber.
     bool DeadDef;
 
     /// Reg is Defined and all defs of reg or an overlapping register are




More information about the llvm-commits mailing list