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