arsenm added inline comments.

================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:14553
+    case AMDGPU::BI__builtin_amdgcn_atomic_inc32:
+      IntType = Int32Ty;
+      BuiltinAtomicOp = Intrinsic::amdgcn_atomic_inc;
----------------
This should be implied by the return type of the builtin? You shouldn't need to 
switch over it, and you just need to switch between inc/dec intrinsics


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80804



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

Reply via email to