Skip to content

Commit 45498a1

Browse files
committed
Reword comment
1 parent 1894d97 commit 45498a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,9 +466,9 @@ bool GCNTTIImpl::simplifyDemandedLaneMaskArg(InstCombiner &IC,
466466
if (!Known.isConstant())
467467
return false;
468468

469-
// Unlike the DAG version, SimplifyDemandedBits does not change
470-
// constants. Make sure we clamp these down. Out of bounds indexes may appear
471-
// in wave64 code compiled for wave32.
469+
// Out of bounds indexes may appear in wave64 code compiled for wave32.
470+
// Unlike the DAG version, SimplifyDemandedBits does not change constants, so
471+
// manually fix it up.
472472

473473
Value *LaneArg = II.getArgOperand(LaneArgIdx);
474474
Constant *MaskedConst =

0 commit comments

Comments
 (0)