Skip to content

Commit

Permalink
[AMDGPU] Remove comment outdated by #96933
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Aug 23, 2024
1 parent 3cca522 commit c8ba317
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -905,8 +905,7 @@ void AMDGPUAtomicOptimizerImpl::optimizeAtomic(Instruction &I,
PHI->addIncoming(NewI, SingleLaneTerminator->getParent());

// We need to broadcast the value who was the lowest active lane (the first
// lane) to all other lanes in the wavefront. We use an intrinsic for this,
// but have to handle 64-bit broadcasts with two calls to this intrinsic.
// lane) to all other lanes in the wavefront.
Value *BroadcastI = nullptr;
BroadcastI = B.CreateIntrinsic(Ty, Intrinsic::amdgcn_readfirstlane, PHI);

Expand Down

0 comments on commit c8ba317

Please sign in to comment.