forked from OSchip/llvm-project
pretty printing vector types should print the element type, not just the attribute.
llvm-svn: 65078
This commit is contained in:
parent
0f466c746f
commit
a8bac26e2c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue