summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineLICM.cpp
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-13 18:45:35 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-13 18:45:35 +0000
commit05394352c019da94e9ece722492ced494b2bedb1 (patch)
treec32582dba9d931262aca4148bd835ace0226cb1c /llvm/lib/CodeGen/MachineLICM.cpp
parent2806a549b4f065e6ca1a11fa60c486c60933611d (diff)
downloadbcm5719-llvm-05394352c019da94e9ece722492ced494b2bedb1.tar.gz
bcm5719-llvm-05394352c019da94e9ece722492ced494b2bedb1.zip
Change TargetLowering::getRepRegClassFor to take an MVT, instead of
EVT. Accordingly, change RegDefIter to contain MVTs instead of EVTs. llvm-svn: 170140
Diffstat (limited to 'llvm/lib/CodeGen/MachineLICM.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineLICM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineLICM.cpp b/llvm/lib/CodeGen/MachineLICM.cpp
index 8c2b4e6aa21..760cf8a5163 100644
--- a/llvm/lib/CodeGen/MachineLICM.cpp
+++ b/llvm/lib/CodeGen/MachineLICM.cpp
@@ -780,7 +780,7 @@ MachineLICM::getRegisterClassIDAndCost(const MachineInstr *MI,
unsigned Reg, unsigned OpIdx,
unsigned &RCId, unsigned &RCCost) const {
const TargetRegisterClass *RC = MRI->getRegClass(Reg);
- EVT VT = *RC->vt_begin();
+ MVT VT = *RC->vt_begin();
if (VT == MVT::Untyped) {
RCId = RC->getID();
RCCost = 1;
OpenPOWER on IntegriCloud