Skip to content

Commit 50f02aa

Browse files
committed
Cleanup redundant expression in InstCombineAndOrXor.
Summary: The expression is redundant on both side of operator |. detected by : http://reviews.llvm.org/D19451 Reviewers: rnk, majnemer Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19459 llvm-svn: 267458
1 parent ef5a0ee commit 50f02aa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,9 @@ static unsigned getTypeOfMaskedICmp(Value* A, Value* B, Value* C,
465465
if (CCst && CCst->isZero()) {
466466
// if C is zero, then both A and B qualify as mask
467467
result |= (icmp_eq ? (FoldMskICmp_Mask_AllZeroes |
468-
FoldMskICmp_Mask_AllZeroes |
469468
FoldMskICmp_AMask_Mixed |
470469
FoldMskICmp_BMask_Mixed)
471470
: (FoldMskICmp_Mask_NotAllZeroes |
472-
FoldMskICmp_Mask_NotAllZeroes |
473471
FoldMskICmp_AMask_NotMixed |
474472
FoldMskICmp_BMask_NotMixed));
475473
if (icmp_abit)

0 commit comments

Comments
 (0)