[llvm] [AArch64] Fix register reversing crash on MSVC with 1 pair. (PR #82392)

Scott Todd via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 10:11:45 PST 2024


ScottTodd wrote:

> I suspect the issue is with dereferencing `PPREnd.base()` when `PPREnd == RegPairs.rend()` (same with `ZPR`). And it can happen even if `RegPairs.size() > 1`, for example if there are no `PPR` pairs at all. (it'll be a couple of hours before I get my hands on a Windows machine to confirm and/or investigate).

Ah, interesting. Should we revert for now and then land with these cases fixed?

https://github.com/llvm/llvm-project/pull/82392


More information about the llvm-commits mailing list