[lld] [llvm] [LLD][RISCV] Use ISA mapping symbols for per-region RVC relaxation (PR #201310)

Kito Cheng via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 06:47:26 PDT 2026


================
@@ -1108,12 +1164,13 @@ bool RISCV::relaxOnce(int pass) const {
 
   SmallVector<InputSection *, 0> storage;
   bool changed = false;
+  RISCVRelaxCapabilityManager capMgr;
----------------
kito-cheng wrote:

Not really 0% hit rate, it still cache hit when the mapping symbol string is same, but it indeed could be improved

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


More information about the llvm-commits mailing list