[llvm] [RISCV][MC] Implement evaluateBranch for auipc+jalr pairs (PR #65480)
Job Noorman via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 2 01:37:25 PDT 2023
================
@@ -1298,6 +1303,7 @@ static void collectLocalBranchTargets(
!Labels.count(Target) &&
!(STI->getTargetTriple().isPPC() && Target == Index))
Labels[Target] = ("L" + Twine(LabelCount++)).str();
+ MIA->updateState(Inst, Index);
----------------
mtvec wrote:
That makes sense, fixed!
https://github.com/llvm/llvm-project/pull/65480
More information about the llvm-commits
mailing list