From: Kevin P. Neal Date: Thu, 30 May 2019 17:21:45 +0000 (+0000) Subject: Correct error in revert of r362112. X-Git-Tag: llvmorg-10-init~4186 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51ce0b196a8babe7ac8b81da69139a2eae3cca0b;p=platform%2Fupstream%2Fllvm.git Correct error in revert of r362112. Differential Revision: http://reviews.llvm.org/D62546 llvm-svn: 362118 --- diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp index 95aace3..aefc2aa 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;