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:
4ce6568
)
revert inadvertent change
author
Sanjay Patel
<spatel@rotateright.com>
Thu, 26 Mar 2015 17:19:24 +0000
(17:19 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Thu, 26 Mar 2015 17:19:24 +0000
(17:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233294
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 bd9a4fe0ef05f6725e5d5a00322039cf68ee1c11..a1c84c5cf0964a3a16cfc68056f06e87b717d2bb 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-11972,7
+11972,6
@@
SDValue DAGCombiner::visitVECTOR_SHUFFLE(SDNode *N) {
// Canonicalize any other splat as a build_vector.
const SDValue &Splatted = V->getOperand(SVN->getSplatIndex());
- if (isa<ConstantSDNode>(Splatted) || isa<ConstantFPSDNode>(Splatted)) {
SmallVector<SDValue, 8> Ops(NumElts, Splatted);
SDValue NewBV = DAG.getNode(ISD::BUILD_VECTOR, SDLoc(N),
V->getValueType(0), Ops);
@@
-11982,7
+11981,6
@@
SDValue DAGCombiner::visitVECTOR_SHUFFLE(SDNode *N) {
if (V->getValueType(0) != VT)
NewBV = DAG.getNode(ISD::BITCAST, SDLoc(N), VT, NewBV);
return NewBV;
- }
}
}