]> granicus.if.org Git - llvm/commitdiff
Correct error in revert of r362112.
authorKevin P. Neal <kevin.neal@sas.com>
Thu, 30 May 2019 17:21:45 +0000 (17:21 +0000)
committerKevin P. Neal <kevin.neal@sas.com>
Thu, 30 May 2019 17:21:45 +0000 (17:21 +0000)
Differential Revision: http://reviews.llvm.org/D62546

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362118 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

index 95aace3dc9a63e814b62fd6cc9ffb06563148548..aefc2aabf64b4e12b34c79d32ef32296aedfadd6 100644 (file)
@@ -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;