[PATCH] D84922: [X86][AVX512] Fix build fail after D81548

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 02:10:21 PDT 2020


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

Test function mask_cmp_128 failed during ISEL
LLVM ERROR: Cannot select: t37: v8i1 = X86ISD::KSHIFTL t48, TargetConstant:i8<4>
due to v8i1 only available under AVX512DQ.

This patch can fix the build fail, but it has performance regression.
Because it breaks further optimization opportunity.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84922

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/vector-shuffle-v1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84922.281842.patch
Type: text/x-patch
Size: 5922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200730/442bc1e6/attachment-0001.bin>


More information about the llvm-commits mailing list