summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorKevin P. Neal <kevin.neal@sas.com>2019-05-30 17:21:45 +0000
committerKevin P. Neal <kevin.neal@sas.com>2019-05-30 17:21:45 +0000
commit51ce0b196a8babe7ac8b81da69139a2eae3cca0b (patch)
tree4f23e847dd52272e1efa58b483f12b19f239eb25 /llvm/lib/CodeGen
parentd3db7b40b0538f737c5a519d18845e9db10df025 (diff)
downloadbcm5719-llvm-51ce0b196a8babe7ac8b81da69139a2eae3cca0b.tar.gz
bcm5719-llvm-51ce0b196a8babe7ac8b81da69139a2eae3cca0b.zip
Correct error in revert of r362112.
Differential Revision: http://reviews.llvm.org/D62546 llvm-svn: 362118
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index 95aace3dc9a..aefc2aabf64 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@ -2968,7 +2968,7 @@ SDValue DAGTypeLegalizer::WidenVecRes_StrictFP(SDNode *N) {
// No legal vector version so unroll the vector operation and then widen.
if (NumElts == 1)
- return UnrollVectorOp(N, WidenVT.getVectorNumElements());
+ return DAG.UnrollVectorOp(N, WidenVT.getVectorNumElements());
// Since the operation can trap, apply operation on the original vector.
EVT MaxVT = VT;
OpenPOWER on IntegriCloud