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; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits