[llvm] [PowerPC] Utilize `getReservedRegs` to find asm clobberable registers. (PR #99766)
Kai Luo via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 04:59:33 PDT 2024
================
@@ -646,9 +648,10 @@ body: |
MTCTR8loop killed %139, implicit-def dead $ctr8
B %bb.10
- bb.8.for.cond21.for.cond.cleanup25_crit_edge:
+ bb.8.for.cond21.for.cond.cleanup25_crit_edge (landing-pad):
successors: %bb.9(0x80000000)
-
+ liveins: $x2
+
----------------
bzEq wrote:
`r2` in this case is used as toc pointer, IIUC, `r2` should be reserved and should not appear in liveins.
https://github.com/llvm/llvm-project/pull/99766
More information about the llvm-commits
mailing list