[all-commits] [llvm/llvm-project] 88fbad: [AST] clang::VectorType supports any size (that fi...
Sam McCall via All-commits
all-commits at lists.llvm.org
Fri Apr 3 08:30:48 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 88fbadd0f5d50ea1d310fb63da6da15b82a9be05
https://github.com/llvm/llvm-project/commit/88fbadd0f5d50ea1d310fb63da6da15b82a9be05
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2020-04-03 (Fri, 03 Apr 2020)
Changed paths:
M clang/include/clang/AST/Type.h
M clang/lib/Sema/SemaType.cpp
M clang/test/Sema/types.c
M clang/test/SemaCXX/vector.cpp
Log Message:
-----------
[AST] clang::VectorType supports any size (that fits in unsigned)
Summary:
This matches llvm::VectorType.
It moves the size from the type bitfield into VectorType, increasing size by 8
bytes (including padding of 4). This is OK as we don't expect to create terribly
many of these types.
c.f. D77313 which enables large power-of-two sizes without growing VectorType.
Reviewers: efriedma, hokein
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D77335
More information about the All-commits
mailing list