Revert r195317 (and r195333), "Teach ISel not to optimize 'optnone' functions."
[oota-llvm.git] / include / llvm / Target / TargetMachine.h
index fd7228a513a983db9e47c15b238f4c2f7f0516f3..91e4715eea3afe027e5f58de9c2ff1c7ed80fd31 100644 (file)
@@ -29,7 +29,6 @@ class GlobalValue;
 class MCAsmInfo;
 class MCCodeGenInfo;
 class MCContext;
-class PassManagerBase;
 class Target;
 class DataLayout;
 class TargetLibraryInfo;
@@ -47,6 +46,12 @@ class VectorTargetTransformInfo;
 class formatted_raw_ostream;
 class raw_ostream;
 
+// The old pass manager infrastructure is hidden in a legacy namespace now.
+namespace legacy {
+class PassManagerBase;
+}
+using legacy::PassManagerBase;
+
 //===----------------------------------------------------------------------===//
 ///
 /// TargetMachine - Primary interface to the complete machine description for