Access the TargetLoweringInfo from the TargetMachine object instead of caching it...
[oota-llvm.git] / include / llvm / CodeGen / Passes.h
index d0a90f5195f9475b302234ba9069294b94a592ea..98d1e0ae9e104de450058d21d8187b122961a6dd 100644 (file)
@@ -329,7 +329,7 @@ namespace llvm {
   /// This pass implements the target transform info analysis using the target
   /// independent information available to the LLVM code generator.
   ImmutablePass *
-  createBasicTargetTransformInfoPass(const TargetMachine *TLI);
+  createBasicTargetTransformInfoPass(const TargetMachine *TM);
 
   /// createUnreachableBlockEliminationPass - The LLVM code generator does not
   /// work well with unreachable basic blocks (what live ranges make sense for a