[llvm-commits] [llvm] r73824 - /llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
Chris Lattner
sabre at nondot.org
Sat Jun 20 01:13:12 PDT 2009
Author: lattner
Date: Sat Jun 20 03:13:12 2009
New Revision: 73824
URL: http://llvm.org/viewvc/llvm-project?rev=73824&view=rev
Log:
fix edit-o
Modified:
llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp?rev=73824&r1=73823&r2=73824&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp Sat Jun 20 03:13:12 2009
@@ -380,7 +380,8 @@
if (IndexReg.getReg()) {
O << ',';
printOperand(MI, Op+2);
- if (MI->getOperand(Op+1).getImm() != 1)
+ unsigned ScaleVal = MI->getOperand(Op+1).getImm();
+ if (ScaleVal != 1)
O << ',' << ScaleVal;
}
O << ')';
More information about the llvm-commits
mailing list