[llvm] [AMDGPU] Set glc/slc on volatile/nontemporal SMEM loads (PR #77443)

Tony Tye via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 20:48:43 PST 2024


================
@@ -29,7 +29,6 @@ class SM_Pseudo <string opName, dag outs, dag ins, string asmOps, list<dag> patt
   let mayStore = 0;
   let mayLoad = 1;
   let hasSideEffects = 0;
-  let maybeAtomic = 0;
----------------
t-tye wrote:

How does removing this cause SIMemoryLegalizer to process scalar loads and stores?

Should the memory model in AMDGPUUsage be updated to include the scalar memory instructions?

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


More information about the llvm-commits mailing list