yaxunl requested changes to this revision. yaxunl added inline comments. This revision now requires changes to proceed.
================ Comment at: lib/Basic/Targets/AMDGPU.h:398 + + LangAS getCUDABuiltinAddressSpace(unsigned AS) const override { + return LangAS::Default; ---------------- I am wondering how this would work for CUDA/HIP. Let's say a builtin is supposed to return a pointer to addrspace 4. Now in HIP this builtin is returning a pointer to addrspace 0. How would that work? https://reviews.llvm.org/D47154 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits