[llvm] [LV] Reduce register pressure of RISC-V outer loop reduction. (PR #208621)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 03:03:58 PDT 2026


================
@@ -3770,6 +3783,8 @@ InstructionCost VPExpressionRecipe::computeCost(ElementCount VF,
             Instruction::ZExt,
         Opcode, RedTy, SrcVecTy, Ctx.CostKind);
   }
+  default:
+    llvm_unreachable("Unsupported VPExpressionRecipe::ExpressionTypes enum");
----------------
fhahn wrote:

Do we need this? This will disable warnings for unhandled entries?

https://github.com/llvm/llvm-project/pull/208621


More information about the llvm-commits mailing list