aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/CBackend/CBackend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp
index 7ba24a9474..c5086c4bfc 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<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: