[LV] Relax Small Size Reduction Type Requirement
[oota-llvm.git] / lib / CodeGen / LiveRangeEdit.cpp
index 08bbe0c3f379db437f5696544a44e33d25144785..78961138b6305431198912efef00e05cf57cc950 100644 (file)
@@ -411,7 +411,7 @@ void
 LiveRangeEdit::calculateRegClassAndHint(MachineFunction &MF,
                                         const MachineLoopInfo &Loops,
                                         const MachineBlockFrequencyInfo &MBFI) {
-  VirtRegAuxInfo VRAI(MF, LIS, Loops, MBFI);
+  VirtRegAuxInfo VRAI(MF, LIS, VRM, Loops, MBFI);
   for (unsigned I = 0, Size = size(); I < Size; ++I) {
     LiveInterval &LI = LIS.getInterval(get(I));
     if (MRI.recomputeRegClass(LI.reg))