projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f3d1a
)
Remove extraneous parents around constants when using a constant expr cast.
author
Chris Lattner
<sabre@nondot.org>
Tue, 15 Nov 2005 00:03:16 +0000
(
00:03
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 15 Nov 2005 00:03:16 +0000
(
00:03
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24357
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter.cpp
index a6028e43de89fb1ac01b840a359dd5525e37d521..d81846bd7a83c66f3a5450f33d5f44f85dc8f9b1 100644
(file)
--- a/
lib/CodeGen/AsmPrinter.cpp
+++ b/
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: