[PATCH] D87947: [AMDGPU] Make ds fp atomics overloadable
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 18 16:07:06 PDT 2020
arsenm added inline comments.
================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:14772
+ llvm::Type *PTy = FTy->getParamType(0);
+ Src0 = Builder.CreatePointerBitCastOrAddrSpaceCast(Src0, PTy);
+ return Builder.CreateCall(F, { Src0, Src1, Src2, Src3, Src4 });
----------------
I don't think you need a cast here (at least an addrspacecast)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87947/new/
https://reviews.llvm.org/D87947
More information about the llvm-commits
mailing list