Skip to content

Commit 888623a

Browse files
committed
remove assert
1 parent 482c56d commit 888623a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,6 @@ void AMDGPUAtomicOptimizerImpl::optimizeAtomic(Instruction &I,
775775
// of each active lane in the wavefront. This will be our new value
776776
// which we will provide to the atomic operation.
777777
Value *const LastLaneIdx = B.getInt32(ST->getWavefrontSize() - 1);
778-
assert(TyBitWidth == 32 || TyBitWidth == 64);
779778
NewV = B.CreateIntrinsic(Ty, Intrinsic::amdgcn_readlane,
780779
{NewV, LastLaneIdx});
781780
}

0 commit comments

Comments
 (0)