[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp

Evan Cheng evan.cheng at apple.com
Thu Mar 16 13:47:55 PST 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCTargetMachine.cpp updated: 1.83 -> 1.84
---
Log message:

Added a way for TargetLowering to specify what values can be used as the
scale component of the target addressing mode.


---
Diffs of the changes:  (+2 -2)

 PPCTargetMachine.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.83 llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.84
--- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.83	Mon Mar 13 17:56:51 2006
+++ llvm/lib/Target/PowerPC/PPCTargetMachine.cpp	Thu Mar 16 15:47:42 2006
@@ -84,7 +84,7 @@
   if (FileType != TargetMachine::AssemblyFile) return true;
   
   // Run loop strength reduction before anything else.
-  if (!Fast) PM.add(createLoopStrengthReducePass(1, &TLInfo));
+  if (!Fast) PM.add(createLoopStrengthReducePass(&TLInfo));
 
   // FIXME: Implement efficient support for garbage collection intrinsics.
   PM.add(createLowerGCPass());
@@ -138,7 +138,7 @@
   TM.setRelocationModel(Reloc::DynamicNoPIC);
 
   // Run loop strength reduction before anything else.
-  PM.add(createLoopStrengthReducePass(1, TM.getTargetLowering()));
+  PM.add(createLoopStrengthReducePass(TM.getTargetLowering()));
 
   // FIXME: Implement efficient support for garbage collection intrinsics.
   PM.add(createLowerGCPass());






More information about the llvm-commits mailing list