[PATCH] [tablegen] Resolve complex def identifiers when instanciating multiclass

Sean Silva chisophugis at gmail.com
Wed May 6 14:16:57 PDT 2015


What do you need this for?


================
Comment at: test/TableGen/MultiClassDefName.td:47
@@ +46,3 @@
+defm : MC3<"Buzz">;
+
+// CHECK: def ZFizzBuzz
----------------
hfinkel wrote:
> Can you please add a test with both a strong concatenation and also a concatenation with NAME?
Also, the case where the template argument is a complex type. E.g.:

```
multiclass MC3<Foo f> {
  def ZFizz#f.s : C<f.s>;
}
```

http://reviews.llvm.org/D9466

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list