diff options
author | Wang, Pengfei <pengfei.wang@intel.com> | 2020-10-20 08:58:22 +0800 |
---|---|---|
committer | Wang, Pengfei <pengfei.wang@intel.com> | 2020-10-20 09:26:32 +0800 |
commit | 3a85472af2b6f758c43999e0c013142271f72e74 (patch) | |
tree | 3c3297fb073dd6be700c0c5be8e33a1c486dc3bc /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 774ab60125eeaeac8bf2470b7aaa6aa428d68453 (diff) | |
download | llvm-3a85472af2b6f758c43999e0c013142271f72e74.zip llvm-3a85472af2b6f758c43999e0c013142271f72e74.tar.gz llvm-3a85472af2b6f758c43999e0c013142271f72e74.tar.bz2 |
[X86] Fix assert fail when element type is i1.
extract_vector_elt will turn type vxi1 into i8, which triggers the assertion fail.
Since we don't really handle vxi1 cases in below code, we can just return from here.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D89096
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions