[PATCH] D152538: `G_ATOMICRMW_NAND` failure in legalizer
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 09:28:09 PDT 2023
arsenm added a comment.
In D152538#4409114 <https://reviews.llvm.org/D152538#4409114>, @niwinanto wrote:
> In D152538#4408800 <https://reviews.llvm.org/D152538#4408800>, @arsenm wrote:
>
>> Needs testcase
>
> I am not sure how to trigger this error. I don't see any targets legalizing G_ATOMICRMW_NAND. Only AMD GPU has G_ATOMICRMW_NAND in legalizerInfo, but it is lowered. In our use case we are legalizing it and facing this issue.
You didn't post any patch context so I'm not sure what you're specifically handling here. You just need a mir test with G_ATOMICRMW_NAND and/or an IR test with atomicrmw nand with the appropriate type
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152538/new/
https://reviews.llvm.org/D152538
More information about the llvm-commits
mailing list