[PATCH] D145221: [X86] Prefer `vpternlog` instead of `blendv` for `vselect` on masks.
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 3 01:00:49 PST 2023
pengfei added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1043
+ SDValue R;
+ if (Subtarget->hasVLX() && Subtarget->hasAVX512() &&
+ N->getOperand(0)->getOpcode() == X86ISD::PCMPGT) {
----------------
It's enough to check single `hasVLX`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145221/new/
https://reviews.llvm.org/D145221
More information about the llvm-commits
mailing list