[llvm] [AMDGPU][GlobalISel] Add register bank legalize rules for amdgcn_icmp, amdgcn_fcmp and amdgcn_ballot. (PR #172017)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 07:32:11 PST 2025


anjenner wrote:

> There is no test for amdgcn_icmp, I'm pretty sure that {IntrId, Vcc, Vcc} would not work but need to check in detail. Also why not separate amdgcn_icmp and ballot?

The existing test llvm.amdgcn.ballot.i32.ll tests both amdgcn.ballot and amdgcn.icmp so I covered them in a single change. I'm guessing you meant to say that there is no test for amdgcn.fcmp?

https://github.com/llvm/llvm-project/pull/172017


More information about the llvm-commits mailing list