[lld] [RISCV][LLD] Zcmt RISC-V extension in lld (PR #183450)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 19 19:44:07 PDT 2026


MaskRay wrote:

Mutating between `int saved = r.type == R_RISCV_JAL ? 2 : 6;` and `int saved = (r.type == R_RISCV_JAL || isInt<21>(displace)) ? 2 : 6;` doesn't cause any test failure - signifying a coverage failure. You should cover the case to demonstrate the behavior difference.

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


More information about the llvm-commits mailing list