[PATCH] D43559: TableGen: fix typeIsConvertibleTo for record types

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 17:25:57 PST 2018


tra added inline comments.


================
Comment at: test/TableGen/if-type.td:10
+class X<int cc, B b, C c> {
+  C x = !if(cc, b, c);
+}
----------------
Would `A x = !if(cc, b, c);` be expected to work? If yes, you may want to add a positive test case for it.



Repository:
  rL LLVM

https://reviews.llvm.org/D43559





More information about the llvm-commits mailing list