Skip to content

Commit 893bbf8

Browse files
committed
Fix formatting
1 parent 1c6aab2 commit 893bbf8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/Analysis/InstructionSimplify.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,10 +2178,8 @@ static Value *simplifyAndInst(Value *Op0, Value *Op1, const SimplifyQuery &Q,
21782178

21792179
// (X <= ~Y) && (Y > ~X) --> 0
21802180
CmpPredicate Pred0, Pred1;
2181-
if (match(Op0,
2182-
m_c_ICmp(Pred0, m_Value(X), m_Not(m_Value(Y)))) &&
2183-
match(Op1, m_c_ICmp(Pred1, m_Specific(Y),
2184-
m_Not(m_Specific(X))))) {
2181+
if (match(Op0, m_c_ICmp(Pred0, m_Value(X), m_Not(m_Value(Y)))) &&
2182+
match(Op1, m_c_ICmp(Pred1, m_Specific(Y), m_Not(m_Specific(X))))) {
21852183
if (ICmpInst::isSigned(Pred0) == ICmpInst::isSigned(Pred1)) {
21862184
if (ICmpInst::isLE(Pred0) && ICmpInst::isGT(Pred1))
21872185
return ConstantInt::getFalse(Op0->getType());

0 commit comments

Comments
 (0)