[PATCH] D124472: [AMDGPU] Properly mark MUBUF and FLAT LDS DMA instructions. NFC.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 13:58:38 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/BUFInstructions.td:518
+ let VALU = isLds;
+ let hasSideEffects = isLds;
}
----------------
rampitec wrote:
> arsenm wrote:
> > Loads and stores shouldn't be marked hasSideEffects, only mayLoad/mayStore
> How do you suggest to mark that it can read and write virtually any memory?
> Note that atomics have hasSideEffects flag.
They shouldn't have it set either. mayLoad or mayStore indicate this. the MMO may just not have meaningful pointer info
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124472/new/
https://reviews.llvm.org/D124472
More information about the llvm-commits
mailing list