Change TargetLowering::getRegClassFor to take an MVT, instead of EVT.
[oota-llvm.git] / lib / Target / ARM / ARMISelLowering.cpp
index 474eb32d39a7b9c42231a0eb8b6ad8b679bced23..159d4df00bb42b9936fb61661894d4fa8c0f61ff 100644 (file)
@@ -1046,7 +1046,7 @@ EVT ARMTargetLowering::getSetCCResultType(EVT VT) const {
 
 /// getRegClassFor - Return the register class that should be used for the
 /// specified value type.
-const TargetRegisterClass *ARMTargetLowering::getRegClassFor(EVT VT) const {
+const TargetRegisterClass *ARMTargetLowering::getRegClassFor(MVT VT) const {
   // Map v4i64 to QQ registers but do not make the type legal. Similarly map
   // v8i64 to QQQQ registers. v4i64 and v8i64 are only used for REG_SEQUENCE to
   // load / store 4 to 8 consecutive D registers.