[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Chris Lattner
sabre at nondot.org
Mon Apr 9 15:10:22 PDT 2007
Changes in directory llvm/lib/Target/PowerPC:
PPCISelLowering.cpp updated: 1.268 -> 1.269
---
Log message:
Fix a bug in PPCTargetLowering::isLegalAddressingMode, scales other than 0/1/2
are always unsupported.
---
Diffs of the changes: (+3 -0)
PPCISelLowering.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.268 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.269
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.268 Tue Apr 3 08:59:52 2007
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Mon Apr 9 17:10:05 2007
@@ -3389,6 +3389,9 @@
return false;
// Allow 2*r as r+r.
break;
+ default:
+ // No other scales are supported.
+ return false;
}
return true;
More information about the llvm-commits
mailing list