tra added a comment.

Good catch. Thank you for the fix.



================
Comment at: clang/include/clang/Basic/BuiltinsNVPTX.def:477
 TARGET_BUILTIN(__nvvm_match_any_sync_i32, "UiUiUi", "", PTX60)
-TARGET_BUILTIN(__nvvm_match_any_sync_i64, "WiUiWi", "", PTX60)
+TARGET_BUILTIN(__nvvm_match_any_sync_i64, "UiUiWi", "", PTX60)
 // These return a pair {value, predicate}, which requires custom lowering.
----------------
I've also noticed that the PTX spec also says `Requires sm_70 or higher.`, so 
we may want to fix the constraint, too. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120499/new/

https://reviews.llvm.org/D120499

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to