Chromium Code Reviews| Index: include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h |
| diff --git a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h |
| index 502615644d93eadfb7bac3f978f213b006c1e93b..6525ffc8341a1b58639e82210ae67992c0f5a06d 100644 |
| --- a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h |
| +++ b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h |
| @@ -97,7 +97,7 @@ namespace naclbitc { |
| TYPE_CODE_HALF = 10, // Not used in PNaCl. |
| TYPE_CODE_ARRAY = 11, // Not used in PNaCl. |
| - TYPE_CODE_VECTOR = 12, // Not used in PNaCl. |
| + TYPE_CODE_VECTOR = 12, // VECTOR: [numelts, eltty] |
| // These are not with the other floating point types because they're |
| // a late addition, and putting them in the right place breaks |
| @@ -316,8 +316,8 @@ namespace naclbitc { |
| FUNC_CODE_INST_CAST = 3, // CAST: [opval, destty, castopc] |
| FUNC_CODE_INST_GEP = 4, // Not used in PNaCl. |
| 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_EXTRACTELT = 6, // EXTRACTELT: [opty, opval, opval] |
|
jvoung (off chromium)
2014/04/04 23:20:21
no opty? inferred from opval's elementty ?
JF
2014/04/15 01:52:27
Done.
|
| + FUNC_CODE_INST_INSERTELT = 7, // INSERTELT: [opval, opval, opval] |
| FUNC_CODE_INST_SHUFFLEVEC = 8, // Not used in PNaCl. |
| FUNC_CODE_INST_CMP = 9, // Not used in PNaCl. Replaced by CMP2. |
| FUNC_CODE_INST_RET = 10, // RET: [opval<optional>] |