pretty printing vector types should print the element type, not just the attribute.

llvm-svn: 65078
This commit is contained in:
Chris Lattner 2009-02-19 23:42:29 +00:00
parent 0f466c746f
commit a8bac26e2c
1 changed files with 1 additions and 0 deletions

View File

@ -1184,6 +1184,7 @@ void VectorType::getAsStringInternal(std::string &S) const {
S += " __attribute__((__vector_size__(";
S += llvm::utostr_32(NumElements); // convert back to bytes.
S += " * sizeof(" + ElementType.getAsString() + "))))";
ElementType.getAsStringInternal(S);
}
void ExtVectorType::getAsStringInternal(std::string &S) const {