[llvm-branch-commits] [llvm] [AMDGPU][SIMemoryLegalizer] Lower single-wave workgroup scope to wavefront in absence of LDSDMA (PR #224065)
Pierre van Houtryve via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Oct 13 01:13:48 PDT 2026
================
@@ -824,9 +831,15 @@ SIAtomicAddrSpace SIMemOpAccess::toSIAtomicAddrSpace(unsigned AS) const {
return SIAtomicAddrSpace::OTHER;
}
+// TODO: Consider moving single-wave workgroup->wavefront scope relaxation to an
----------------
Pierre-vh wrote:
> I don't really see a difference between this and reducing an arithmetic operation to a bitwise operation. The user intended to divide by two, but the implementation replaced it with a shift in the IR under the right conditions
Yeah that's a pretty strong argument. I am not sure why I see it differently 🤷
https://github.com/llvm/llvm-project/pull/224065
More information about the llvm-branch-commits
mailing list