[PATCH] D113603: [x86] fold vector (X > -1) & Y to shift+andn

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 11 11:25:39 PST 2021


spatel updated this revision to Diff 386604.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:
Added tests with i1 types and runs to exercise AVX512 targets. I'm not very familiar with those patterns, but it looks like that could use some follow-ups? Pre-AVX512 looks ideal to me.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113603/new/

https://reviews.llvm.org/D113603

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/vector-pcmp.ll
  llvm/test/CodeGen/X86/vselect-zero.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113603.386604.patch
Type: text/x-patch
Size: 28518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211111/6df9bc37/attachment.bin>


More information about the llvm-commits mailing list