Skip to content

Commit 4c2004a

Browse files
committed
Remove unnecessary line
1 parent c26fff8 commit 4c2004a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,6 @@ Instruction *InstCombinerImpl::visitLShr(BinaryOperator &I) {
16261626
if (HasNUW || HasNSW) {
16271627
Value *NewShl = Builder.CreateShl(ConstantInt::get(Shl1->getType(), 1),
16281628
Shl0_Op1, "", HasNUW, HasNSW);
1629-
Builder.CreateShl(ConstantInt::get(Shl1->getType(), 1), Shl0_Op1);
16301629
return BinaryOperator::CreateLShr(NewShl, Shl1_Op1);
16311630
}
16321631
}

0 commit comments

Comments
 (0)