[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelLowering.h ARMISelLowering.cpp

Dale Johannesen dalej at apple.com
Wed Mar 21 14:52:14 PDT 2007



Changes in directory llvm/lib/Target/ARM:

ARMISelLowering.h updated: 1.6 -> 1.7
ARMISelLowering.cpp updated: 1.28 -> 1.29
---
Log message:

repair x86 performance, dejagnu problems from previous change


---
Diffs of the changes:  (+4 -3)

 ARMISelLowering.cpp |    4 ++--
 ARMISelLowering.h   |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)


Index: llvm/lib/Target/ARM/ARMISelLowering.h
diff -u llvm/lib/Target/ARM/ARMISelLowering.h:1.6 llvm/lib/Target/ARM/ARMISelLowering.h:1.7
--- llvm/lib/Target/ARM/ARMISelLowering.h:1.6	Tue Mar 20 16:54:54 2007
+++ llvm/lib/Target/ARM/ARMISelLowering.h	Wed Mar 21 16:51:52 2007
@@ -109,7 +109,8 @@
     /// isLegalAddressScaleAndImm - Return true if S works for 
     /// IsLegalAddressScale and GV works for isLegalAddressImmediate _and_
     /// both can be applied simultaneously to the same instruction.
-    virtual bool isLegalAddressScaleAndImm(int64_t S, GlobalValue *GV) const;
+    virtual bool isLegalAddressScaleAndImm(int64_t S, GlobalValue *GV,
+                                           const Type *Ty) const;
 
     /// getPreIndexedAddressParts - returns true by value, base pointer and
     /// offset pointer and addressing mode by reference if the node's address


Index: llvm/lib/Target/ARM/ARMISelLowering.cpp
diff -u llvm/lib/Target/ARM/ARMISelLowering.cpp:1.28 llvm/lib/Target/ARM/ARMISelLowering.cpp:1.29
--- llvm/lib/Target/ARM/ARMISelLowering.cpp:1.28	Tue Mar 20 16:54:54 2007
+++ llvm/lib/Target/ARM/ARMISelLowering.cpp	Wed Mar 21 16:51:52 2007
@@ -1392,8 +1392,8 @@
 /// isLegalAddressScaleAndImm - Return true if S works for IsLegalAddressScale
 /// and GV works for isLegalAddressImmediate _and_ both can be applied
 /// simultaneously to the same instruction.
-bool ARMTargetLowering::isLegalAddressScaleAndImm(int64_t S, 
-                                               GlobalValue *GV) const {
+bool ARMTargetLowering::isLegalAddressScaleAndImm(int64_t S, GlobalValue *GV,
+                                                  const Type* Ty) const {
   return false;
 }
 






More information about the llvm-commits mailing list