[llvm] [NVPTX] Add Volta Atomic SequentiallyConsistent Load and Store Operations (PR #98551)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 11:15:21 PDT 2024
================
@@ -1889,7 +1962,25 @@ bool NVPTXDAGToDAGISel::tryStore(SDNode *N) {
CurDAG->getDataLayout().getPointerSizeInBits(ST->getAddressSpace());
// Memory Semantic Setting
- unsigned int CodeMemorySem = getCodeMemorySemantic(ST, Subtarget);
+ auto [InstructionOrdering, FenceOrdering] =
----------------
Artem-B wrote:
Looks like we use this pattern in multiple places. Can we extract it into a helper function or lambda?
https://github.com/llvm/llvm-project/pull/98551
More information about the llvm-commits
mailing list