[llvm] [NVPTX] Add syncscope support for cmpxchg (PR #140812)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 12:39:50 PDT 2025


================
@@ -174,7 +174,8 @@ enum Scope : ScopeUnderlyingType {
   Cluster = 2,
   Device = 3,
   System = 4,
-  LASTSCOPE = System
+  DefaultDevice = 5,
----------------
gonzalobg wrote:

```suggestion
  DefaultDevice = 5, //  For SM < 70: denotes PTX op implicit/default .gpu scope
```

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


More information about the llvm-commits mailing list