[fast-isel] Add support for the expect intrinsic.
[oota-llvm.git] / test / TableGen / defmclass.td
index 55482da4d07211929cd521b46812d46e81002a10..6198c000fddcf6e3b19e75fd8fc3caf4ca5c8df2 100644 (file)
@@ -1,5 +1,4 @@
-// RUN: tblgen %s | FileCheck %s
-// XFAIL: vg_leak
+// RUN: llvm-tblgen %s | FileCheck %s
 
 class XD { bits<4> Prefix = 11; }
 // CHECK: Prefix = { 1, 1, 0, 0 };
@@ -36,3 +35,15 @@ multiclass Y {
 
 // CHECK: int check = 0;
 defm Instr : Y, VEX;
+
+
+// Anonymous defm.
+
+multiclass SomeAnonymous<int x> {
+  def rm;
+  def mr;
+}
+
+// These multiclasses shouldn't conflict.
+defm : SomeAnonymous<1>;
+defm : SomeAnonymous<2>;
\ No newline at end of file