[llvm] [LV][EVL] Support icmp/fcmp instruction with EVL-vectorization (PR #108533)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 23 02:05:15 PDT 2024
================
@@ -1377,7 +1377,8 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
.Case<VPWidenRecipe>([&](VPWidenRecipe *W) -> VPRecipeBase * {
unsigned Opcode = W->getOpcode();
if (!Instruction::isBinaryOp(Opcode) &&
- !Instruction::isUnaryOp(Opcode))
+ !Instruction::isUnaryOp(Opcode) &&
+ Opcode != Instruction::ICmp && Opcode != Instruction::FCmp)
----------------
Mel-Chen wrote:
Could we drop this check?
https://github.com/llvm/llvm-project/pull/108533
More information about the llvm-commits
mailing list