summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-09-21 23:30:17 +0000
committerChris Lattner <sabre@nondot.org>2008-09-21 23:30:17 +0000
commit14743e83b9214fa9a6a5697dc08aafa37b62b046 (patch)
tree96626bff0c2254baac52c97e74598b91db636f49
parent743922ea75ba650b9e87a3627f0de8d1e0869d00 (diff)
downloadllvm-14743e83b9214fa9a6a5697dc08aafa37b62b046.tar.gz
llvm-14743e83b9214fa9a6a5697dc08aafa37b62b046.tar.bz2
llvm-14743e83b9214fa9a6a5697dc08aafa37b62b046.tar.xz
explain what earlyclobber actually is.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56415 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachineOperand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h
index 555f320027..c2399beaf6 100644
--- a/include/llvm/CodeGen/MachineOperand.h
+++ b/include/llvm/CodeGen/MachineOperand.h
@@ -68,9 +68,9 @@ private:
/// This is only valid on definitions of registers.
bool IsDead : 1;
- /// IsEarlyClobber - True if this MO_Register operand is marked earlyclobber
- /// in an inline asm. Flag is not valid for any other case. See gcc doc
- /// for description of earlyclobber.
+ /// IsEarlyClobber - True if this MO_Register 'def' operand is written to
+ /// by the MachineInstr before all input registers are read. This is used to
+ /// model the GCC inline asm '&' constraint modifier.
bool IsEarlyClobber : 1;
/// OverlapsEarlyClobber - True if this MO_Register operand is used as an