[Lldb-commits] [lldb] [lldb][AArch64] Correctly invalidate svg when vg is written (PR #140875)
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 17 22:25:54 PDT 2025
jasonmolenda wrote:
> Sorry for missing this one earlier. I'm a little confused about earlier in this method,
>
> At the end of the loops, `sme_regnum` is the index of the final SME register we've added to `m_dynamic_reg_infos`. Then if we have the ZT0 register, we reuse that index a second time when adding ZT0 don't we. I don't know if it has anything to do with the issue at hand, but it seems like `sme_regnum` needs to be incremented if `has_zt` and we're adding one more to the vector.
lol of course I misunderstood the loop. After the last entry is added, the index and `sme_regnum` are incremented, then the comparison shows that we're beyond the number of sme registers, and it stops. With `sme_regnum` already positioned after the last sme reg.
https://github.com/llvm/llvm-project/pull/140875
More information about the lldb-commits
mailing list