[llvm-commits] [llvm] r67518 - /llvm/trunk/lib/Target/X86/X86ISelLowering.h
Dan Gohman
gohman at apple.com
Mon Mar 23 08:40:12 PDT 2009
Author: djg
Date: Mon Mar 23 10:40:10 2009
New Revision: 67518
URL: http://llvm.org/viewvc/llvm-project?rev=67518&view=rev
Log:
Correct some comments. Operand numbers start at 0.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.h
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.h?rev=67518&r1=67517&r2=67518&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.h (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.h Mon Mar 23 10:40:10 2009
@@ -118,7 +118,7 @@
/// 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 @@
/// 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.
More information about the llvm-commits
mailing list