[llvm] [NVPTX] Load/Store/Fence syncscope support (PR #106101)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 15:47:01 PDT 2024
================
@@ -100,8 +116,9 @@ class LLVM_LIBRARY_VISIBILITY NVPTXDAGToDAGISel : public SelectionDAGISel {
static unsigned GetConvertOpcode(MVT DestTy, MVT SrcTy, LoadSDNode *N);
- NVPTX::Ordering insertMemoryInstructionFence(SDLoc DL, SDValue &Chain,
- MemSDNode *N);
+ std::pair<NVPTX::Ordering, NVPTX::Scope>
----------------
Artem-B wrote:
A comment describing what returned `Ordering` and `Scope` have to do with the instruction insertion would be helpful.
https://github.com/llvm/llvm-project/pull/106101
More information about the llvm-commits
mailing list