[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 14 16:03:28 PST 2005
Changes in directory llvm/lib/CodeGen:
AsmPrinter.cpp updated: 1.24 -> 1.25
---
Log message:
Remove extraneous parents around constants when using a constant expr cast.
---
Diffs of the changes: (+0 -2)
AsmPrinter.cpp | 2 --
1 files changed, 2 deletions(-)
Index: llvm/lib/CodeGen/AsmPrinter.cpp
diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.24 llvm/lib/CodeGen/AsmPrinter.cpp:1.25
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.24 Mon Nov 14 13:00:06 2005
+++ llvm/lib/CodeGen/AsmPrinter.cpp Mon Nov 14 18:03:16 2005
@@ -118,9 +118,7 @@
|| (((TD.getTypeSize(Ty) >= TD.getTypeSize(OpTy))
&& OpTy->isLosslesslyConvertibleTo(Ty))))
&& "FIXME: Don't yet support this kind of constant cast expr");
- O << "(";
emitConstantValueOnly(Op);
- O << ")";
break;
}
case Instruction::Add:
More information about the llvm-commits
mailing list