mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-10 14:12:11 +00:00
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
This commit is contained in:
parent
f58d4dec98
commit
32cba8e063
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user