From: Dan Gohman Date: Mon, 23 Mar 2009 15:40:10 +0000 (+0000) Subject: Correct some comments. Operand numbers start at 0. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2004eb6272d4787b9e08a83230fe022cbaf4deb0;p=oota-llvm.git 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 --- diff --git a/lib/Target/X86/X86ISelLowering.h b/lib/Target/X86/X86ISelLowering.h index 4b65bf0d734..a531ad24d4c 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.