Improve cost modeling for RISC-V Machine Outliner #91788
Labels
backend:RISC-V
enhancement
Improving things as opposed to bug fixing, e.g. new or missing feature
llvm:codegen
llvm:codesize
Code size issues
This is a work item identified in the gap analysis done in #89822.
The ARM32 and Aarch64 machine outliners make many adjustments to the cost modeling depending on the outlining task. For instance it seems to increase weights for tail-callable outlined regions, and adjust the weights for various other patterns.
RISC-V should probably just copy these as a starting point and explore the impact of different values on some sufficiently large codebase. Clang, and the llvm-test suite are the obvious starting points, but Fuchsia, Chrome, and the Linux kernel are also reasonable projects to include for a round of evaluation.
The text was updated successfully, but these errors were encountered: