[llvm] [BOLT] Fix scavenge register after program point (PR #179207)
Haibo Jiang via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 2 18:11:18 PST 2026
Jianghibo wrote:
Now `scavengeRegAfter()` is only used by `JTFootprintReduction`. Since the program point is replaced by the instruction created by the free register obtained by scavengeRegAfter(), it does not cause an exception whether the free register is obtained **before or after the program point**.
This is the first patch for bugfix, then I plan to commit the support for ICP on the aarch64, this feature relies on correct register liveness analysis.
https://github.com/llvm/llvm-project/pull/179207
More information about the llvm-commits
mailing list