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:
38c2556
)
CSE calls to getTypeSize.
author
Chris Lattner
<sabre@nondot.org>
Sun, 12 Dec 2004 20:31:00 +0000
(20:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 12 Dec 2004 20:31:00 +0000
(20:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18833
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCAsmPrinter.cpp
b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 93cfb2d87515d5a43ec3721b32bdd006ebcc0c55..cc8c1f3e420046bd2ac9d6ef7dcd50fdced5ddaa 100644
(file)
--- a/
lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/
lib/Target/PowerPC/PPCAsmPrinter.cpp
@@
-472,10
+472,9
@@
bool DarwinAsmPrinter::doFinalization(Module &M) {
I->hasLinkOnceLinkage())) {
SwitchSection(O, CurSection, ".data");
if (I->hasInternalLinkage())
- O << ".lcomm " << name << "," << TD.getTypeSize(C->getType())
- << "," << Align;
+ O << ".lcomm " << name << "," << Size << "," << Align;
else
- O << ".comm " << name << "," <<
TD.getTypeSize(C->getType())
;
+ O << ".comm " << name << "," <<
Size
;
O << "\t\t; ";
WriteAsOperand(O, I, true, true, &M);
O << '\n';