TRUNCATE constant folding - minor fix for rL233224
[oota-llvm.git] / lib / CodeGen / LiveRangeEdit.cpp
index 189da65962601d4f0dfc155b242d9b758c063f4e..0edc897dc316aa65a2bb6f6a7e202698261d90b0 100644 (file)
@@ -399,7 +399,7 @@ LiveRangeEdit::calculateRegClassAndHint(MachineFunction &MF,
   VirtRegAuxInfo VRAI(MF, LIS, Loops, MBFI);
   for (unsigned I = 0, Size = size(); I < Size; ++I) {
     LiveInterval &LI = LIS.getInterval(get(I));
-    if (MRI.recomputeRegClass(LI.reg, MF.getTarget()))
+    if (MRI.recomputeRegClass(LI.reg))
       DEBUG({
         const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo();
         dbgs() << "Inflated " << PrintReg(LI.reg) << " to "