summaryrefslogtreecommitdiffstats
path: root/test/TableGen/Slice.td
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen/Slice.td')
-rw-r--r--test/TableGen/Slice.td9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/TableGen/Slice.td b/test/TableGen/Slice.td
index 6d051d7..7a35d31 100644
--- a/test/TableGen/Slice.td
+++ b/test/TableGen/Slice.td
@@ -1,6 +1,4 @@
-// RUN: llvm-tblgen %s | grep "\[(set" | count 2
-// RUN: llvm-tblgen %s | grep "\[\]" | count 2
-// XFAIL: vg_leak
+// RUN: llvm-tblgen %s | FileCheck %s
class ValueType<int size, int value> {
int Size = size;
@@ -86,3 +84,8 @@ multiclass myscalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns
vscalar<opcode, asmstr, patterns>;
defm NOT : myscalar<0x10, "not", [[], [(set FR32:$dst, (f32 (not FR32:$src)))]]>;
+
+// CHECK: Pattern = [(set FR32:$dst, (f32 (not FR32:$src)))];
+// CHECK: Pattern = [];
+// CHECK: Pattern = [(set FR32:$dst, (f32 (not FR32:$src)))];
+// CHECK: Pattern = [];
OpenPOWER on IntegriCloud