[llvm] [NVPTX] Load/Store/Fence syncscope support (PR #106101)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 15:46:58 PDT 2024


================
@@ -915,6 +920,42 @@ getOperationOrderings(MemSDNode *N, const NVPTXSubtarget *Subtarget) {
 
 } // namespace
 
+NVPTX::Scope NVPTXDAGToDAGISel::getOperationScope(MemSDNode *N,
+                                                  NVPTX::Ordering Ord) const {
----------------
Artem-B wrote:

Nit: `O` or `Ordering` would work a bit better here, IMO. I'd probably use just `O` to match `N`.

https://github.com/llvm/llvm-project/pull/106101


More information about the llvm-commits mailing list