Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.185 -> 1.186 --- Log message: Print negative immediates as negative values instead of large constants when using the immshifted addressing mode. --- Diffs of the changes: (+1 -1) PPCAsmPrinter.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.185 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.186 --- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.185 Wed Jun 28 18:17:23 2006 +++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Wed Jul 12 18:24:02 2006 @@ -125,7 +125,7 @@ O << (unsigned short)MI->getOperand(OpNo).getImmedValue(); } void printS16X4ImmOperand(const MachineInstr *MI, unsigned OpNo) { - O << (short)MI->getOperand(OpNo).getImmedValue()*4; + O << (short)(MI->getOperand(OpNo).getImmedValue()*4); } void printBranchOperand(const MachineInstr *MI, unsigned OpNo) { // Branches can take an immediate operand. This is used by the branch _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits