[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
Fri Sep 25 02:11:59 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:

> Why not do this already?

I was against it, I am really uneasy with the idea of doing it at the IR level as it loses the initial semantics/intention.
I seem to be in the minority though, so if everyone else is confident this should really be done at the IR level, I will not block the patch over it.

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


More information about the llvm-branch-commits mailing list