aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-19 11:48:16 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-19 11:48:16 +0000
commitdfcf33a287d1756721f1f735af687595ce2f5a21 (patch)
tree2806c1ff5884e04d35d70fc83836b541d0a7c820 /lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
parentff01277841b824128c74cdb66f74d8082d75e3f6 (diff)
downloadexternal_llvm-dfcf33a287d1756721f1f735af687595ce2f5a21.zip
external_llvm-dfcf33a287d1756721f1f735af687595ce2f5a21.tar.gz
external_llvm-dfcf33a287d1756721f1f735af687595ce2f5a21.tar.bz2
Change TargetLowering::RegisterTypeForVT to contain MVTs, instead of
EVTs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index a370fae..373c449 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.