Skip to content

Commit 69eaf81

Browse files
committed
Fix formatting
1 parent d87b193 commit 69eaf81

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,20 +1721,20 @@ Instruction *InstCombinerImpl::FoldOpIntoSelect(Instruction &Op, SelectInst *SI,
17211721

17221722
if (auto *II = dyn_cast<IntrinsicInst>(&Op)) {
17231723
switch (II->getIntrinsicID()) {
1724-
case Intrinsic::umin:
1725-
case Intrinsic::smin:
1726-
if (ConstantInt *C = dyn_cast<ConstantInt>(FV))
1727-
if (C->isAllOnesValue())
1728-
return nullptr;
1729-
break;
1730-
case Intrinsic::umax:
1731-
case Intrinsic::smax:
1732-
if (ConstantInt *C = dyn_cast<ConstantInt>(FV))
1733-
if (C->isZero())
1734-
return nullptr;
1735-
break;
1736-
default:
1737-
break;
1724+
case Intrinsic::umin:
1725+
case Intrinsic::smin:
1726+
if (ConstantInt *C = dyn_cast<ConstantInt>(FV))
1727+
if (C->isAllOnesValue())
1728+
return nullptr;
1729+
break;
1730+
case Intrinsic::umax:
1731+
case Intrinsic::smax:
1732+
if (ConstantInt *C = dyn_cast<ConstantInt>(FV))
1733+
if (C->isZero())
1734+
return nullptr;
1735+
break;
1736+
default:
1737+
break;
17381738
}
17391739
}
17401740

0 commit comments

Comments
 (0)