MaskRay wrote: > Do we need to handle this special case to keep compatibility with older toolchains? BOLT's RISC-V port is pretty new. I hope that we don't keep such compatibility (old clang with new bolt)... https://github.com/llvm/llvm-project/pull/90004