summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit4d7445b3a4abc52bda1e4d355de06602de85fb08 (patch)
tree66bc7836c35b327f9d0240e4e404c54a670286af /llvm
parent19af4ea47b2b280355b5f1bf0b29ac29c9608363 (diff)
downloadbcm5719-llvm-4d7445b3a4abc52bda1e4d355de06602de85fb08.tar.gz
bcm5719-llvm-4d7445b3a4abc52bda1e4d355de06602de85fb08.zip
explain what earlyclobber actually is.
llvm-svn: 56415
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/MachineOperand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineOperand.h b/llvm/include/llvm/CodeGen/MachineOperand.h
index 555f320027d..c2399beaf6e 100644
--- a/llvm/include/llvm/CodeGen/MachineOperand.h
+++ b/llvm/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
OpenPOWER on IntegriCloud