[llvm] [RISCV] Add TuneJumpIsExpensive (PR #191374)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 11:06:51 PDT 2026


================
@@ -2051,6 +2051,10 @@ def TunePreferVsetvliOverReadVLENB
           "prefer-vsetvli-over-read-vlenb", "PreferVsetvliOverReadVLENB",
           "true", "Prefer vsetvli over read vlenb CSR to calculate VLEN">;
 
+def TuneJumpIsExpensive
+    : RISCVSimpleTuneFeature<"jump-is-expensive", "IsJumpExpensive",
----------------
lenary wrote:

"jump-is-cheap" might be even more clear :)

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


More information about the llvm-commits mailing list