[llvm] [AMDGPU] Enable volatile and non-temporal for loads to LDS (PR #153244)
Krzysztof Drewniak via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 06:38:15 PDT 2025
================
@@ -3662,13 +3666,19 @@ bool AMDGPUInstructionSelector::selectGlobalLoadLds(MachineInstr &MI) const{
if (isSGPR(Addr))
MIB.addReg(VOffset);
- MIB.add(MI.getOperand(4)) // offset
- .add(MI.getOperand(5)); // cpol
+ MIB.add(MI.getOperand(4)); // offset
+
+ bool IsGFX12Plus = AMDGPU::isGFX12Plus(*Subtarget);
----------------
krzysz00 wrote:
I'm thinking to just define CPol::AllVirtual and & with ~CPol::AllVirtual
https://github.com/llvm/llvm-project/pull/153244
More information about the llvm-commits
mailing list