The numbering of LLVMOpcode is supposed to be stable; revert my earlier change, and append Fence onto the end.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136245 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Friedman 2011-07-27 18:59:19 +00:00
parent 0031b4f74e
commit abcd715fdf

View File

@ -155,36 +155,38 @@ typedef enum {
LLVMLoad = 27,
LLVMStore = 28,
LLVMGetElementPtr = 29,
LLVMFence = 30,
/* Cast Operators */
LLVMTrunc = 33,
LLVMZExt = 34,
LLVMSExt = 35,
LLVMFPToUI = 36,
LLVMFPToSI = 37,
LLVMUIToFP = 38,
LLVMSIToFP = 39,
LLVMFPTrunc = 40,
LLVMFPExt = 41,
LLVMPtrToInt = 42,
LLVMIntToPtr = 43,
LLVMBitCast = 44,
LLVMTrunc = 30,
LLVMZExt = 31,
LLVMSExt = 32,
LLVMFPToUI = 33,
LLVMFPToSI = 34,
LLVMUIToFP = 35,
LLVMSIToFP = 36,
LLVMFPTrunc = 37,
LLVMFPExt = 38,
LLVMPtrToInt = 39,
LLVMIntToPtr = 40,
LLVMBitCast = 41,
/* Other Operators */
LLVMICmp = 45,
LLVMFCmp = 46,
LLVMPHI = 47,
LLVMCall = 48,
LLVMSelect = 49,
LLVMICmp = 42,
LLVMFCmp = 43,
LLVMPHI = 44,
LLVMCall = 45,
LLVMSelect = 46,
/* UserOp1 */
/* UserOp2 */
LLVMVAArg = 52,
LLVMExtractElement = 53,
LLVMInsertElement = 54,
LLVMShuffleVector = 55,
LLVMExtractValue = 56,
LLVMInsertValue = 57
LLVMVAArg = 49,
LLVMExtractElement = 50,
LLVMInsertElement = 51,
LLVMShuffleVector = 52,
LLVMExtractValue = 53,
LLVMInsertValue = 54,
/* Atomic operators */
LLVMFence = 55
} LLVMOpcode;
typedef enum {