diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2015-03-26 17:19:24 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2015-03-26 17:19:24 +0000 |
| commit | 5b305d2d66ebc0243795bce74466702f9901a434 (patch) | |
| tree | 0184ec406a924740e8d45d469daf272c96e3477c /llvm/lib/CodeGen | |
| parent | 4fa4a886d7cb0a4f0309510b861cab5664620d6a (diff) | |
| download | bcm5719-llvm-5b305d2d66ebc0243795bce74466702f9901a434.tar.gz bcm5719-llvm-5b305d2d66ebc0243795bce74466702f9901a434.zip | |
revert inadvertent change
llvm-svn: 233294
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index bd9a4fe0ef0..a1c84c5cf09 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/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; - } } } |

