| commit | 7795480992146e3099a6a7fb3e7c161ebc24d9f2 | [log] [tgz] |
|---|---|---|
| author | Bob Wilson <bob.wilson@apple.com> | Tue Nov 16 00:32:20 2010 +0000 |
| committer | Bob Wilson <bob.wilson@apple.com> | Tue Nov 16 00:32:20 2010 +0000 |
| tree | 32cb6d59b404f1a02be495d70ede5251ba1e236a | |
| parent | e4652b1f22014cf8d9e52689f681e20c506e13d8 [diff] |
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