[all-commits] [llvm/llvm-project] 778bf7: [BitcodeReader] fix a logic error in vector type e...
William Woodruff via All-commits
all-commits at lists.llvm.org
Fri Oct 8 21:12:06 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 778bf73d7ba693f4bb74d137a70870bce128a19f
https://github.com/llvm/llvm-project/commit/778bf73d7ba693f4bb74d137a70870bce128a19f
Author: william woodruff <william at yossarian.net>
Date: 2021-10-09 (Sat, 09 Oct 2021)
Changed paths:
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list