arsenm added inline comments.

================
Comment at: clang/lib/CodeGen/CGCall.cpp:5237-5238
+
+          if (VTy->isPointerTy() &&
+              VTy->getPointerAddressSpace() != IRTy->getPointerAddressSpace()) 
{
+            // In the case of targets that use a non-default address space for
----------------
you can also just unconditionally call CreateAddrSpaceCast and let it no-op if 
the types match


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157452

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

Reply via email to