summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-15 00:03:16 +0000
committerChris Lattner <sabre@nondot.org>2005-11-15 00:03:16 +0000
commitbba9c372c1e688cb0047a749728c019bcf09b6e8 (patch)
tree2082d23e899ac720a419e1c95002b1011d0c6d49 /llvm/lib/CodeGen/AsmPrinter.cpp
parentb720e2c29fcf00d49d05d52b08037694c052e874 (diff)
downloadbcm5719-llvm-bba9c372c1e688cb0047a749728c019bcf09b6e8.tar.gz
bcm5719-llvm-bba9c372c1e688cb0047a749728c019bcf09b6e8.zip
Remove extraneous parents around constants when using a constant expr cast.
llvm-svn: 24357
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp
index a6028e43de8..d81846bd7a8 100644
--- a/llvm/lib/CodeGen/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter.cpp
@@ -118,9 +118,7 @@ void AsmPrinter::emitConstantValueOnly(const Constant *CV) {
|| (((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:
OpenPOWER on IntegriCloud