diff options
author | Karl Schimpf <kschimpf@google.com> | 2013-07-29 08:41:58 -0700 |
---|---|---|
committer | Karl Schimpf <kschimpf@google.com> | 2013-07-29 08:41:58 -0700 |
commit | 3beb037fee2d77e09a96fbd5a507a2eeea7e860e (patch) | |
tree | 5b13cf507505c6c6e2614610ca2eb18a0ed1b827 /include | |
parent | d0c3e5a5d23f2d7c91a7091918bd85ca495dae19 (diff) |
Remove handling of nongenerable instructions in PNaCl reader.
The PNaCl bitcode writer doesn't generate certain forms of instructions that
the PNaCl bitcode writer accepts. Since these instructions do not get
generated, remove them from the bitcode reader.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3590
R=jvoung@chromium.org
Review URL: https://codereview.chromium.org/20442002
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h index 53f74f0ef4..5433ed5352 100644 --- a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h +++ b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h @@ -270,12 +270,11 @@ namespace naclbitc { // [, flags]] FUNC_CODE_INST_CAST = 3, // CAST: [opval, destty, castopc] FUNC_CODE_INST_GEP = 4, // Not used in PNaCl. - FUNC_CODE_INST_SELECT = 5, // SELECT: [opval, opval, opval] + FUNC_CODE_INST_SELECT = 5, // Not used in PNaCl. Replaced by VSELECT. FUNC_CODE_INST_EXTRACTELT = 6, // Not used in PNaCl. FUNC_CODE_INST_INSERTELT = 7, // Not used in PNaCl. FUNC_CODE_INST_SHUFFLEVEC = 8, // Not used in PNaCl. - FUNC_CODE_INST_CMP = 9, // CMP: [opval, opval, pred] - + FUNC_CODE_INST_CMP = 9, // Not used in PNaCl. Replaced by CMP2. FUNC_CODE_INST_RET = 10, // RET: [opval<optional>] FUNC_CODE_INST_BR = 11, // BR: [bb#, bb#, cond] or [bb#] FUNC_CODE_INST_SWITCH = 12, // SWITCH: [opty, op0, op1, ...] |