From: Chris Lattner Date: Sun, 2 Mar 2008 03:39:43 +0000 (+0000) Subject: print the attribute in the right place, this fixes function returning vectors. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=32cba8e0634e56a42bfe7ae900f7839711c62d82;p=oota-llvm.git print the attribute in the right place, this fixes function returning vectors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47809 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 7ba24a94741..c5086c4bfcd 100644 --- 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(Ty); return printType(Out, VTy->getElementType(), false, - NameSoFar + " __attribute__((vector_size(" + - utostr(TD->getABITypeSize(VTy)) + " ))) "); + " __attribute__((vector_size(" + + utostr(TD->getABITypeSize(VTy)) + " ))) " + NameSoFar); } default: