diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-11-16 00:32:20 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-11-16 00:32:20 +0000 |
commit | 7795480992146e3099a6a7fb3e7c161ebc24d9f2 (patch) | |
tree | 32cb6d59b404f1a02be495d70ede5251ba1e236a /llvm/lib/Object/ObjectFile.cpp | |
parent | e4652b1f22014cf8d9e52689f681e20c506e13d8 (diff) | |
download | llvm-7795480992146e3099a6a7fb3e7c161ebc24d9f2.zip llvm-7795480992146e3099a6a7fb3e7c161ebc24d9f2.tar.gz llvm-7795480992146e3099a6a7fb3e7c161ebc24d9f2.tar.bz2 |
ASTContext::getVectorType should preserve the vector kind for canonical types.
This is needed for Neon types when it is most natural to define them in terms
of a typedef. For example, Neon poly8_t is a typedef for "signed char", and
we want to define polynomial vectors as vectors of that typedef. Without this
change, the result will be a generic GCC-style vector. I think this is safe
for other vector types as well, but I would appreciate a review of this.
llvm-svn: 119300
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions