Skip to content

Commit 970a36b

Browse files
Apply suggestions from code review
1 parent 05f1e09 commit 970a36b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,6 @@ Instruction *InstCombinerImpl::visitTrunc(TruncInst &Trunc) {
829829
Value *And = Builder.CreateAnd(X, MaskC);
830830
return new ICmpInst(ICmpInst::ICMP_NE, And, Zero);
831831
}
832-
833832
if (match(Src, m_OneUse(m_c_Or(m_LShr(m_Value(X), m_ImmConstant(C)),
834833
m_Deferred(X))))) {
835834
// trunc (or (lshr X, C), X) to i1 --> icmp ne (and X, C'), 0

0 commit comments

Comments
 (0)