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:
f58d4de
)
print the attribute in the right place, this fixes function returning vectors.
author
Chris Lattner
<sabre@nondot.org>
Sun, 2 Mar 2008 03:39:43 +0000
(
03:39
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 2 Mar 2008 03:39:43 +0000
(
03:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47809
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/CBackend/CBackend.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/CBackend/CBackend.cpp
b/lib/Target/CBackend/CBackend.cpp
index 7ba24a947411955a142300f60b7cf3dd02238762..c5086c4bfcdb7b5f3f13b891c673adf7877c9cdc 100644
(file)
--- a/
lib/Target/CBackend/CBackend.cpp
+++ b/
lib/Target/CBackend/CBackend.cpp
@@
-429,8
+429,8
@@
CWriter::printSimpleType(std::ostream &Out, const Type *Ty, bool isSigned,
case Type::VectorTyID: {
const VectorType *VTy = cast<VectorType>(Ty);
return printType(Out, VTy->getElementType(), false,
-
NameSoFar +
" __attribute__((vector_size(" +
- utostr(TD->getABITypeSize(VTy)) + " ))) ");
+ " __attribute__((vector_size(" +
+ utostr(TD->getABITypeSize(VTy)) + " ))) "
+ NameSoFar
);
}
default: