davemgreen wrote: I'm not sure. We recently found problems in RegUnits because they were not representing the upper D register correctly (see #96146). But we might not see the same problems if this just uses available(..). https://github.com/llvm/llvm-project/pull/96840