handle __vector_size__ like vector_size
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44358 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Type.cpp b/AST/Type.cpp
index 02a9004..b0ba353 100644
--- a/AST/Type.cpp
+++ b/AST/Type.cpp
@@ -687,7 +687,7 @@
}
void VectorType::getAsStringInternal(std::string &S) const {
- S += " __attribute__((vector_size(";
+ S += " __attribute__((__vector_size__(";
// FIXME: should multiply by element size somehow.
S += llvm::utostr_32(NumElements*4); // convert back to bytes.
S += ")))";