diff options
author | william woodruff <william@yossarian.net> | 2021-10-09 08:59:45 +0530 |
---|---|---|
committer | Shivam Gupta <shivam98.tkg@gmail.com> | 2021-10-09 09:42:02 +0530 |
commit | 778bf73d7ba693f4bb74d137a70870bce128a19f (patch) | |
tree | 693e84ee3c837d81e8a9a99c15c86cc5fffca0fd /clang/lib | |
parent | 65df10f3cd66abeab848990871885f33a4f980ac (diff) | |
download | llvm-778bf73d7ba693f4bb74d137a70870bce128a19f.zip llvm-778bf73d7ba693f4bb74d137a70870bce128a19f.tar.gz llvm-778bf73d7ba693f4bb74d137a70870bce128a19f.tar.bz2 |
[BitcodeReader] fix a logic error in vector type element validation
The current code checks whether the vector's element type is a valid structure element type, rather than a valid vector element type. The two have separate implementations and but only accept very slightly different sets of types, which is probably why this wasn't caught before.
Differential Revision: https://reviews.llvm.org/D109655
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions