Skip to content

Commit a5e73a0

Browse files
Update InstCombineShifts.cpp
1 parent 69c1f27 commit a5e73a0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -994,11 +994,7 @@ static bool setShiftFlags(BinaryOperator &I, const SimplifyQuery &Q) {
994994
I.setIsExact();
995995
return true;
996996
}
997-
// shr X, cttz(X)
998-
if (match(I.getOperand(1), m_Intrinsic<Intrinsic::cttz>(m_Specific(I.getOperand(0))))) {
999-
I.setIsExact();
1000-
return true;
1001-
}
997+
1002998
}
1003999

10041000
// Compute what we know about shift count.

0 commit comments

Comments
 (0)