Skip to content

Commit 151460d

Browse files
committed
Correct comment.
1 parent a8668b7 commit 151460d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4075,9 +4075,9 @@ SDValue AMDGPUTargetLowering::splitBinaryBitConstantOpImpl(
40754075
// but when v2i32 is legal the vector legaliser only partially scalarises the
40764076
// vector operations and the and is not elided. This function
40774077
// scalarises the AND for this optimisation case, ensuring it is elided.
4078-
// (shiftop x, (extract_vector_element (and {y0, y1},
4078+
// (shiftop x, (extract_vector_element (and {y0, y1},
40794079
// (build_vector 0x1f, 0x1f))), index)
4080-
// -> i32 (shiftop x, (and (extract_vector_element {yo, y1}, index), 0x1f))
4080+
// -> (shiftop x, (and (extract_vector_element {yo, y1}, index), 0x1f))
40814081
static SDValue getShiftForReduction(SDNode *N, SelectionDAG &DAG) {
40824082
assert((N->getOpcode() == ISD::SRA || N->getOpcode() == ISD::SRL ||
40834083
N->getOpcode() == ISD::SHL) &&

0 commit comments

Comments
 (0)