[PATCH] D145221: [X86] Prefer `vpternlog` instead of `blendv` for `vselect` on masks.

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 23:43:05 PST 2023


goldstein.w.n created this revision.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
goldstein.w.n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This rarely comes up because most `vselect` are lowered with actually
avx512 mask instructions, but is an improvement in the rare cases.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145221

Files:
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/test/CodeGen/X86/abds-vector-128.ll
  llvm/test/CodeGen/X86/abds-vector-256.ll
  llvm/test/CodeGen/X86/var-permute-256.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145221.502065.patch
Type: text/x-patch
Size: 5690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230303/97e1d369/attachment.bin>


More information about the llvm-commits mailing list