[PATCH] D51969: [AMDGPU] Add an AMDGPU specific atomic optimizer.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 13 05:11:45 PDT 2018
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp:379
+ BroadcastI = B.CreateBitCast(Insert, Ty);
+ } else if (Ty->getPrimitiveSizeInBits() == 32) {
+ BroadcastI = B.CreateCall(ReadFirstLaneIntrinsic, PHI);
----------------
Checking a different value is suspicious
https://reviews.llvm.org/D51969
More information about the llvm-commits
mailing list