projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
332b3b1
)
use SDValue bool operator; NFCI
author
Sanjay Patel
<spatel@rotateright.com>
Sun, 16 Aug 2015 17:54:28 +0000
(17:54 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Sun, 16 Aug 2015 17:54:28 +0000
(17:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245181
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index f2e4e6ba2407cd01317d0382aeac5d8bb38d80ec..585cff0de0b5368837fa4ff826a68f7049bb2969 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-4972,10
+4972,9
@@
SDValue DAGCombiner::visitSELECT(SDNode *N) {
DAG.isKnownNeverNaN(N1) && DAG.isKnownNeverNaN(N2)) {
ISD::CondCode CC = cast<CondCodeSDNode>(N0.getOperand(2))->get();
- SDValue FMinMax =
- combineMinNumMaxNum(SDLoc(N), VT, N0.getOperand(0), N0.getOperand(1),
- N1, N2, CC, TLI, DAG);
- if (FMinMax)
+ if (SDValue FMinMax = combineMinNumMaxNum(SDLoc(N), VT, N0.getOperand(0),
+ N0.getOperand(1), N1, N2, CC,
+ TLI, DAG))
return FMinMax;
}