[PATCH] D43559: TableGen: fix typeIsConvertibleTo for record types
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 22 07:32:26 PST 2018
nhaehnle 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);
+}
----------------
tra wrote:
> Would `A x = !if(cc, b, c);` be expected to work? If yes, you may want to add a positive test case for it.
>
Yes, it's expected to work, and it does work :) I've added a test for it.
Repository:
rL LLVM
https://reviews.llvm.org/D43559
More information about the llvm-commits
mailing list