arsenm added inline comments.

================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:14524
+        BuiltinAtomicOp,
+        {Ptr->getType()->getPointerElementType(), Ptr->getType()});
 
----------------
arsenm wrote:
> Should not rely on pointer element type, these are always i32 I think
Nope, they can be i64 (but I assume these aren't overloadable builtins, so 
would need a separate pair)


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