[PATCH] D138521: [X86] Support ANDNP combine through broadcast instructions with scalar input
Evgenii Kudriashov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 23 09:04:48 PST 2022
e-kud created this revision.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
e-kud updated this revision to Diff 477323.
e-kud added a comment.
e-kud retitled this revision from "[X86] Support ANDN combine through broadcast instructions" to "[X86] Support ANDNP combine through broadcast instructions with scalar input".
e-kud edited the summary of this revision.
e-kud added reviewers: RKSimon, pengfei.
e-kud published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Guard bitcasts and pshufd with single use
- Combine AND(BROADCAST(NOT(X))) -> ANDNP(BROADCAST(X))
- Combine AND(PSHUFD(SCALAR_TO_VECTOR(NOT(Y)))) -> ANDNP(PSHUFD(SCALAR_TO_VECTOR(Y)))
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D138521
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/combine-bitselect.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138521.477323.patch
Type: text/x-patch
Size: 4053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221123/83d6ab77/attachment.bin>
More information about the llvm-commits
mailing list