OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e826a2e
)
fix return values to match bool return type; NFC
author
Sanjay Patel
<spatel@rotateright.com>
Mon, 7 Dec 2015 23:34:30 +0000
(23:34 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Mon, 7 Dec 2015 23:34:30 +0000
(23:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254968
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
10fb334
..
97a9646
100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-3888,10
+3888,10
@@
static bool matchRotateSub(SDValue Pos, SDValue Neg, unsigned EltSize) {
// Check whether Neg has the form (sub NegC, NegOp1) for some NegC and NegOp1.
if (Neg.getOpcode() != ISD::SUB)
- return
0
;
+ return
false
;
ConstantSDNode *NegC = isConstOrConstSplat(Neg.getOperand(0));
if (!NegC)
- return
0
;
+ return
false
;
SDValue NegOp1 = Neg.getOperand(1);
// On the RHS of [A], if Pos is Pos' & (EltSize - 1), just replace Pos with