[PATCH] D146683: [DAG] Conservatively check the VSELECT Operation Action in tryToFoldExtendSelectLoad
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 23 06:56:32 PDT 2023
LuoYuanke added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1043
+ assert(N->getValueType(0).getVectorElementType() != MVT::i16 &&
+ "We can't replace VSELECT with BLENDV in vxi16!");
SDValue Blendv =
----------------
LuoYuanke wrote:
> vXi16?
On the other hand, why can't use `VPBLENDVB ymm1, ymm2, ymm3/m256` (https://www.felixcloutier.com/x86/pblendvb) to vselect v16i16? We can bitcast v16i16 to v32i8.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146683/new/
https://reviews.llvm.org/D146683
More information about the llvm-commits
mailing list