summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorMicah Villmow <villmow@gmail.com>2012-07-31 18:07:43 +0000
committerMicah Villmow <villmow@gmail.com>2012-07-31 18:07:43 +0000
commit8c574be2fec59a3d80e400a9a0409b28f7f34829 (patch)
treeaee73e48c29d3dba3b71c1e94fe189161d4f0612 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent683826765c45d7acd19e915a73b8c1b46c40a4eb (diff)
downloadllvm-8c574be2fec59a3d80e400a9a0409b28f7f34829.tar.gz
llvm-8c574be2fec59a3d80e400a9a0409b28f7f34829.tar.bz2
llvm-8c574be2fec59a3d80e400a9a0409b28f7f34829.tar.xz
Conform to LLVM coding style.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 172819369d..f0c50c1ed3 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -2464,8 +2464,8 @@ TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
// Otherwise, we can't fold it. However, we can simplify it to SETUO/SETO
// if it is not already.
ISD::CondCode NewCond = UOF == 0 ? ISD::SETO : ISD::SETUO;
- if (NewCond != Cond && (DCI.isBeforeLegalizeOps()
- || getCondCodeAction(NewCond, N0.getValueType()) == Legal))
+ if (NewCond != Cond && (DCI.isBeforeLegalizeOps() ||
+ getCondCodeAction(NewCond, N0.getValueType()) == Legal))
return DAG.getSetCC(dl, VT, N0, N1, NewCond);
}