[PATCH] D124483: [AMDGPU] Add both mayLoad and mayStore to MUBUF LDS opcodes
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 15:02:05 PDT 2022
rampitec created this revision.
rampitec added a reviewer: arsenm.
Herald added subscribers: hsmhsm, foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
https://reviews.llvm.org/D124483
Files:
llvm/lib/Target/AMDGPU/BUFInstructions.td
Index: llvm/lib/Target/AMDGPU/BUFInstructions.td
===================================================================
--- llvm/lib/Target/AMDGPU/BUFInstructions.td
+++ llvm/lib/Target/AMDGPU/BUFInstructions.td
@@ -508,7 +508,7 @@
let Constraints = !if(HasTiedDest, "$vdata = $vdata_in", "");
let LGKM_CNT = isLds;
let mayLoad = 1;
- let mayStore = 0;
+ let mayStore = isLds;
let maybeAtomic = 1;
let Uses = !if(isLds, [EXEC, M0], [EXEC]);
let has_tfe = !not(isLds);
@@ -620,7 +620,7 @@
(ins SReg_128:$srsrc, SCSrc_b32:$soffset, offset:$offset, CPol:$cpol, SWZ:$swz),
" $srsrc, $soffset$offset lds$cpol$swz"> {
let LGKM_CNT = 1;
- let mayLoad = 0;
+ let mayLoad = 1;
let mayStore = 1;
let maybeAtomic = 1;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124483.425317.patch
Type: text/x-patch
Size: 773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220426/d6d55810/attachment.bin>
More information about the llvm-commits
mailing list