Skip to content

Commit 74b7a41

Browse files
committed
clang format
1 parent b10c3f0 commit 74b7a41

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5047,4 +5047,3 @@ Instruction *InstCombinerImpl::visitXor(BinaryOperator &I) {
50475047

50485048
return nullptr;
50495049
}
5050-

llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,11 +1736,10 @@ Instruction *InstCombinerImpl::FoldOpIntoSelect(Instruction &Op, SelectInst *SI,
17361736
// - Zero extended value (zext)
17371737
// - Sign extended value (sext)
17381738
if (match(SI, m_Select(m_ICmp(Pred, m_Value(X), m_Zero()), m_Value(Y),
1739-
m_Zero())) &&
1740-
Pred == ICmpInst::ICMP_EQ &&
1741-
match(Other, m_ZExtOrSExtOrSelf(m_Specific(X)))) {
1742-
return SelectInst::Create(SI->getCondition(), Y,
1743-
Other);
1739+
m_Zero())) &&
1740+
Pred == ICmpInst::ICMP_EQ &&
1741+
match(Other, m_ZExtOrSExtOrSelf(m_Specific(X)))) {
1742+
return SelectInst::Create(SI->getCondition(), Y, Other);
17441743
}
17451744
}
17461745

@@ -5821,4 +5820,3 @@ void llvm::initializeInstCombine(PassRegistry &Registry) {
58215820
FunctionPass *llvm::createInstructionCombiningPass() {
58225821
return new InstructionCombiningPass();
58235822
}
5824-

0 commit comments

Comments
 (0)