Changes in directory llvm/lib/Target:
TargetLowering.cpp updated: 1.45 -> 1.46
---
Log message:
Add LSR hooks.
---
Diffs of the changes: (+13 -0)
TargetLowering.cpp | 13 +++++++++++++
1 files changed, 13 insertions(+)
Index: llvm/lib/Target/TargetLowering.cpp
diff -u llvm/lib/Target/TargetLowering.cpp:1.45
llvm/lib/Target/TargetLowering.cpp:1.46
--- llvm/lib/Target/TargetLowering.cpp:1.45 Mon Mar 13 00:42:16 2006
+++ llvm/lib/Target/TargetLowering.cpp Mon Mar 13 17:16:31 2006
@@ -976,3 +976,16 @@
return std::pair<unsigned, const TargetRegisterClass*>(0, 0);
}
+
+//===----------------------------------------------------------------------===//
+// Loop Strength Reduction hooks
+//===----------------------------------------------------------------------===//
+
+/// isLegalAddressImmediate - Return true if the integer value or
+/// GlobalValue can be used as the offset of the target addressing mode.
+bool TargetLowering::isLegalAddressImmediate(int64_t V) const {
+ return false;
+}
+bool TargetLowering::isLegalAddressImmediate(GlobalValue *GV) const {
+ return false;
+}
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits