[llvm-commits] CVS: llvm/include/llvm/Bitcode/LLVMBitCodes.h

Chris Lattner sabre at nondot.org
Tue Apr 24 08:55:11 PDT 2007



Changes in directory llvm/include/llvm/Bitcode:

LLVMBitCodes.h updated: 1.4 -> 1.5
---
Log message:

comentate


---
Diffs of the changes:  (+8 -0)

 LLVMBitCodes.h |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/include/llvm/Bitcode/LLVMBitCodes.h
diff -u llvm/include/llvm/Bitcode/LLVMBitCodes.h:1.4 llvm/include/llvm/Bitcode/LLVMBitCodes.h:1.5
--- llvm/include/llvm/Bitcode/LLVMBitCodes.h:1.4	Tue Apr 24 02:03:08 2007
+++ llvm/include/llvm/Bitcode/LLVMBitCodes.h	Tue Apr 24 10:54:42 2007
@@ -106,6 +106,10 @@
     CST_CODE_CE_CMP        = 15   // CE_CMP:        [opty, opval, opval, pred]
   };
   
+  /// CastOpcodes - These are values used in the bitcode files to encode which
+  /// cast a CST_CODE_CE_CAST or a XXX refers to.  The values of these enums
+  /// have no fixed relation to the LLVM IR enum values.  Changing these will
+  /// break compatibility with old files.
   enum CastOpcodes {
     CAST_TRUNC    =  0,
     CAST_ZEXT     =  1,
@@ -121,6 +125,10 @@
     CAST_BITCAST  = 11
   };
   
+  /// BinaryOpcodes - These are values used in the bitcode files to encode which
+  /// binop a CST_CODE_CE_BINOP or a XXX refers to.  The values of these enums
+  /// have no fixed relation to the LLVM IR enum values.  Changing these will
+  /// break compatibility with old files.
   enum BinaryOpcodes {
     BINOP_ADD  =  0,
     BINOP_SUB  =  1,






More information about the llvm-commits mailing list