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

llvm-svn: 362118

llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

index 95aace3..aefc2aa 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;