[llvm] [NVPTX] Add syncscope support for cmpxchg (PR #140812)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 6 09:14:45 PDT 2025
================
@@ -2111,9 +2132,9 @@ multiclass F_ATOMIC_2<RegTyInfo t, string sem_str, string as_str, string op_str,
}
// has 3 operands
-multiclass F_ATOMIC_3<RegTyInfo t, string sem_str, string as_str, string op_str,
- SDPatternOperator op, list<Predicate> preds> {
- defvar asm_str = "atom" # sem_str # as_str # "." # op_str # " \t$dst, [$addr], $b, $c;";
+multiclass F_ATOMIC_3<RegTyInfo t, string sem_str, string scope_str, string as_str,
----------------
gonzalobg wrote:
@AlexMaclean would it make sense to port this to the custom printing function in a subsequent PR?
That'd be an NVPTX-backend-local isolated change.
https://github.com/llvm/llvm-project/pull/140812
More information about the llvm-commits
mailing list