aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-23 15:40:10 +0000
committerDan Gohman <gohman@apple.com>2009-03-23 15:40:10 +0000
commit2004eb6272d4787b9e08a83230fe022cbaf4deb0 (patch)
tree1dac49dc376c652ae85572d7d97241a86c73e557
parentfb11288109329cb736d9f49769581a0d0c23fe19 (diff)
downloadexternal_llvm-2004eb6272d4787b9e08a83230fe022cbaf4deb0.zip
external_llvm-2004eb6272d4787b9e08a83230fe022cbaf4deb0.tar.gz
external_llvm-2004eb6272d4787b9e08a83230fe022cbaf4deb0.tar.bz2
Correct some comments. Operand numbers start at 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67518 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86ISelLowering.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/X86/X86ISelLowering.h b/lib/Target/X86/X86ISelLowering.h
index 4b65bf0..a531ad2 100644
--- a/lib/Target/X86/X86ISelLowering.h
+++ b/lib/Target/X86/X86ISelLowering.h
@@ -118,7 +118,7 @@ namespace llvm {
/// X86 bit-test instructions.
BT,
- /// X86 SetCC. Operand 1 is condition code, and operand 2 is the flag
+ /// X86 SetCC. Operand 0 is condition code, and operand 1 is the flag
/// operand produced by a CMP instruction.
SETCC,
@@ -128,14 +128,14 @@ namespace llvm {
/// flag result.
CMOV,
- /// X86 conditional branches. Operand 1 is the chain operand, operand 2
- /// is the block to branch if condition is true, operand 3 is the
- /// condition code, and operand 4 is the flag operand produced by a CMP
+ /// X86 conditional branches. Operand 0 is the chain operand, operand 1
+ /// is the block to branch if condition is true, operand 2 is the
+ /// condition code, and operand 3 is the flag operand produced by a CMP
/// or TEST instruction.
BRCOND,
- /// Return with a flag operand. Operand 1 is the chain operand, operand
- /// 2 is the number of bytes of stack to pop.
+ /// Return with a flag operand. Operand 0 is the chain operand, operand
+ /// 1 is the number of bytes of stack to pop.
RET_FLAG,
/// REP_STOS - Repeat fill, corresponds to X86::REP_STOSx.