[llvm] [TableGen] Added submulticlass typechecking to template arg values. (PR #112904)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 21 17:16:57 PDT 2024
jofrn wrote:
>
> Before your patch I get:
>
> ```
> def X { // C
> bit x = 1;
> }
> ```
I not am getting `bit x = 1` in the aforementioned case, I get `bit x = 0` as is now both before and after. Uploading a test to show that one needs a `!cast` to perform the correct check.
https://github.com/llvm/llvm-project/pull/112904
More information about the llvm-commits
mailing list