summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/NeonEmitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/NeonEmitter.h')
-rw-r--r--llvm/utils/TableGen/NeonEmitter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/NeonEmitter.h b/llvm/utils/TableGen/NeonEmitter.h
index 42ecf5b9730..c97fabb91e9 100644
--- a/llvm/utils/TableGen/NeonEmitter.h
+++ b/llvm/utils/TableGen/NeonEmitter.h
@@ -40,7 +40,9 @@ enum OpKind {
OpXor,
OpAndNot,
OpOrNot,
- OpCast
+ OpCast,
+ OpConcat,
+ OpDup
};
enum ClassKind {
@@ -79,6 +81,8 @@ namespace llvm {
OpMap["OP_ANDN"] = OpAndNot;
OpMap["OP_ORN"] = OpOrNot;
OpMap["OP_CAST"] = OpCast;
+ OpMap["OP_CONC"] = OpConcat;
+ OpMap["OP_DUP"] = OpDup;
Record *SI = R.getClass("SInst");
Record *II = R.getClass("IInst");
OpenPOWER on IntegriCloud