[llvm] AMDGPU: Fix creating illegally typed readfirstlane in atomic optimizer (PR #128388)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 23 21:38:22 PST 2025


arsenm wrote:

> Right, after [5feb32b](https://github.com/llvm/llvm-project/commit/5feb32ba929f9e517c530217cabb09d1d734a763) i8/i16 are no longer illegal for the readfirstlane. What exactly is the problem? Can you please share the reproducer if its handy?

The reproducer is most of the tests in the commit. The i8 intrinsics are not legalized. setOperationAction is probably missing for i8 or Other 

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


More information about the llvm-commits mailing list