[PATCH] D89096: [X86] Fix assert fail when element type is i1.

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 00:05:06 PDT 2020


pengfei created this revision.
pengfei added reviewers: craig.topper, gpei, LuoYuanke.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
pengfei requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89096

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/vector-reduce-or-cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89096.297131.patch
Type: text/x-patch
Size: 4692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201009/b88dab59/attachment.bin>


More information about the llvm-commits mailing list