[llvm] [BOLT] Fix the inaccurate profile data check (PR #136278)
Amir Ayupov via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 20 19:29:09 PDT 2025
aaupov wrote:
Thank you for investigating the issue.
I see that we have FixRISCVCallsPass that runs before instrumentation and replaces all calls with PseudoCALL instructions for JITLink relaxation. But the pass may replace either jalr or auipc+jalr pair with a pseudocall, so in the general case it's not correct to always adjust an offset by 4.
https://github.com/llvm/llvm-project/pull/136278
More information about the llvm-commits
mailing list