Skip to content

Commit

Permalink
AMDGPU: Simplify else if to just else in AMDGPUInstCombineIntrinsic
Browse files Browse the repository at this point in the history
Fixes #79738
  • Loading branch information
arsenm committed Jan 30, 2024
1 parent 8582d41 commit 65f486c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ GCNTTIImpl::instCombineIntrinsic(InstCombiner &IC, IntrinsicInst &II) const {
NewWidth = 32;
else if (Width <= 64)
NewWidth = 64;
else if (Width > 64)
else
break; // Can't handle this.

if (Width != NewWidth) {
Expand Down

0 comments on commit 65f486c

Please sign in to comment.