[llvm] [VPlan] Add VPExpressionRecipe, replacing extended reduction recipes. (PR #144281)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 2 02:51:21 PDT 2025


Mel-Chen wrote:

Got warning 
```
llvm-project/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp: In member function ‘virtual llvm::InstructionCost llvm::VPExpressionRecipe::computeCost(llvm::ElementCount, llvm::VPCostContext&) const’:
llvm-project/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp:2667:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
 ```

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


More information about the llvm-commits mailing list