summaryrefslogtreecommitdiff
path: root/test/TableGen
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen')
-rw-r--r--test/TableGen/defmclass.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/TableGen/defmclass.td b/test/TableGen/defmclass.td
index ef8e8f794b..55482da4d0 100644
--- a/test/TableGen/defmclass.td
+++ b/test/TableGen/defmclass.td
@@ -16,6 +16,7 @@ class BaseI {
class I<bits<4> op> : BaseI {
bits<4> opcode = op;
int val = !if(!eq(Prefix, xd.Prefix), 7, 21);
+ int check = !if(hasVEX_4VPrefix, 0, 10);
}
multiclass R {
@@ -33,4 +34,5 @@ multiclass Y {
defm SD : R, M, XS;
}
+// CHECK: int check = 0;
defm Instr : Y, VEX;