[PATCH] D152227: [X86] Prefer vmovmsk instead of vtest for alderlake.
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 04:41:44 PDT 2023
LuoYuanke added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:47973
if (IsAllOf && Result.getOpcode() == X86ISD::PCMPEQ &&
Result.getValueType().getVectorNumElements() <= NumElts) {
SDValue V = DAG.getNode(ISD::XOR, DL, Result.getValueType(),
----------------
LuoYuanke wrote:
> RKSimon wrote:
> > What about these folds?
> Ditto
It seems there is not lit test failure if I disable this code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152227/new/
https://reviews.llvm.org/D152227
More information about the llvm-commits
mailing list