From bba9c372c1e688cb0047a749728c019bcf09b6e8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 15 Nov 2005 00:03:16 +0000 Subject: [PATCH] Remove extraneous parents around constants when using a constant expr cast. llvm-svn: 24357 --- llvm/lib/CodeGen/AsmPrinter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp index a6028e43de89..d81846bd7a83 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: