Remove extraneous typenames from r215957
[oota-llvm.git] / lib / CodeGen / LiveRegMatrix.cpp
index de2ce22f7fbf99bcf2e3ef9cefbc92022c465e45..dbe3e1ea7890f89ad98b6daef706ea00de57dbe4 100644 (file)
@@ -48,7 +48,7 @@ void LiveRegMatrix::getAnalysisUsage(AnalysisUsage &AU) const {
 }
 
 bool LiveRegMatrix::runOnMachineFunction(MachineFunction &MF) {
-  TRI = MF.getTarget().getRegisterInfo();
+  TRI = MF.getSubtarget().getRegisterInfo();
   MRI = &MF.getRegInfo();
   LIS = &getAnalysis<LiveIntervals>();
   VRM = &getAnalysis<VirtRegMap>();