Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h

Issue 221693002: PNaCl: Add support for GCC/LLVM vector extensions (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Address dschuff's comments. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/llvm/InitializePasses.h » ('j') | lib/Transforms/NaCl/FlattenGlobals.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8bf4615a6d03ff4c091546784005fdf2bcccc1cb 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: [opval, opval]
+ 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>]
« no previous file with comments | « no previous file | include/llvm/InitializePasses.h » ('j') | lib/Transforms/NaCl/FlattenGlobals.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698