[all-commits] [llvm/llvm-project] 3a8547: [X86] Fix assert fail when element type is i1.
Pengfei Wang via All-commits
all-commits at lists.llvm.org
Mon Oct 19 18:27:34 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3a85472af2b6f758c43999e0c013142271f72e74
https://github.com/llvm/llvm-project/commit/3a85472af2b6f758c43999e0c013142271f72e74
Author: Wang, Pengfei <pengfei.wang at intel.com>
Date: 2020-10-20 (Tue, 20 Oct 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vector-reduce-or-cmp.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list