[llvm] [BOLT] Fix the inaccurate profile data check (PR #136278)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 20 19:39:38 PDT 2025
WangJee 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.
Thank you for your suggestion, but if it is jalr's scenario, Instr will not be nullptr?
https://github.com/llvm/llvm-project/pull/136278
More information about the llvm-commits
mailing list