[PATCH] D151535: [X86] fold select to mask instructions.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 26 02:09:49 PDT 2023
RKSimon added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:20028
static bool canCombineAsMaskOperation(SDValue V1, SDValue V2,
const X86Subtarget &Subtarget) {
if (!Subtarget.hasAVX512())
----------------
Do we actually need canCombineAsMaskOperation to take 2 input operands? Its other use in lowerVECTOR_SHUFFLE looks like it could be split to call it twice.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151535/new/
https://reviews.llvm.org/D151535
More information about the llvm-commits
mailing list