diff options
author | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2012-12-11 10:09:23 +0000 |
---|---|---|
committer | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2012-12-11 10:09:23 +0000 |
commit | 2d916231ff503b995bf3b65a338c9bf0d84ee7c7 (patch) | |
tree | 5f1da0ac96c9872a0fdf19bfbbe5e5ea21dc5f94 /lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | |
parent | 235c75cc2190c40f5785059ec1767e44da5c5401 (diff) | |
download | llvm-2d916231ff503b995bf3b65a338c9bf0d84ee7c7.tar.gz llvm-2d916231ff503b995bf3b65a338c9bf0d84ee7c7.tar.bz2 llvm-2d916231ff503b995bf3b65a338c9bf0d84ee7c7.tar.xz |
Change TargetLowering::RegisterTypeForVT to contain MVTs, instead of
EVTs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp index a370faeb23..373c449a23 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp @@ -703,7 +703,7 @@ SDValue DAGTypeLegalizer::PromoteIntRes_VAARG(SDNode *N) { EVT VT = N->getValueType(0); DebugLoc dl = N->getDebugLoc(); - EVT RegVT = TLI.getRegisterType(*DAG.getContext(), VT); + MVT RegVT = TLI.getRegisterType(*DAG.getContext(), VT); unsigned NumRegs = TLI.getNumRegisters(*DAG.getContext(), VT); // The argument is passed as NumRegs registers of type RegVT. |