1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[DAG] fix formatting; NFC

llvm-svn: 297015
This commit is contained in:
Sanjay Patel 2017-03-06 15:27:57 +00:00
parent b7c673a9c1
commit e58df799fe

View File

@ -2390,8 +2390,7 @@ SDValue DAGCombiner::visitSDIV(SDNode *N) {
return N0;
// fold (sdiv X, -1) -> 0-X
if (N1C && N1C->isAllOnesValue())
return DAG.getNode(ISD::SUB, DL, VT,
DAG.getConstant(0, DL, VT), N0);
return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), N0);
if (SDValue NewSel = foldBinOpIntoSelect(N))
return NewSel;