[llvm] [TableGen] Complete the support for artificial registers (PR #183371)
Mikael Holmen via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 9 09:14:19 PDT 2026
================
@@ -2444,6 +2488,8 @@ void CodeGenRegBank::inferMatchingSuperRegClass(
TopoSigs.reset();
for (const CodeGenRegister *Super : RC->getMembers()) {
const CodeGenRegister *Sub = Super->getSubRegs().find(SubIdx)->second;
----------------
mikaelholmen wrote:
I've verified that the
```Error: attempt to dereference a past-the-end iterator.```
error goes away if we move the Artificial bail out before the call to find.
https://github.com/llvm/llvm-project/pull/183371
More information about the llvm-commits
mailing list