Skip to content

Commit 02939a5

Browse files
committed
[DAG]: Removed braces
1 parent afa3e6b commit 02939a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2486,9 +2486,8 @@ static SDValue foldSelectWithIdentityConstant(SDNode *N, SelectionDAG &DAG,
24862486

24872487
SDValue Cond, TVal, FVal;
24882488
if (!sd_match(N1, m_OneUse(m_SelectLike(m_Value(Cond), m_Value(TVal),
2489-
m_Value(FVal))))) {
2489+
m_Value(FVal)))))
24902490
return SDValue();
2491-
}
24922491

24932492
// We can't hoist all instructions because of immediate UB (not speculatable).
24942493
// For example div/rem by zero.
@@ -13858,9 +13857,8 @@ static SDValue tryToFoldExtendSelectLoad(SDNode *N, const TargetLowering &TLI,
1385813857

1385913858
SDValue Cond, Op1, Op2;
1386013859
if (!sd_match(N0, m_OneUse(m_SelectLike(m_Value(Cond), m_Value(Op1),
13861-
m_Value(Op2))))) {
13860+
m_Value(Op2)))))
1386213861
return SDValue();
13863-
}
1386413862

1386513863
if (!isCompatibleLoad(Op1, Opcode) || !isCompatibleLoad(Op2, Opcode))
1386613864
return SDValue();

0 commit comments

Comments
 (0)