[llvm-bugs] [Bug 43794] New: Assertion `(*RBI.getRegBank(DefReg, MRI, TRI)).getID() == AArch64::GPRRegBankID && "Unexpected ext regbank"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 24 13:23:39 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43794

            Bug ID: 43794
           Summary: Assertion `(*RBI.getRegBank(DefReg, MRI, TRI)).getID()
                    == AArch64::GPRRegBankID && "Unexpected ext regbank"'
                    failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: leonardchan at google.com
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, peter.smith at linaro.org,
                    Ties.Stuij at arm.com

We hit this assertion error in Skia:

clang++:
/b/s/w/ir/k/llvm-project/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp:2070:
virtual bool (anonymous
namespace)::AArch64InstructionSelector::select(llvm::MachineInstr &): Assertion
`(*RBI.getRegBank(DefReg, MRI, TRI)).getID() == AArch64::GPRRegBankID &&
"Unexpected ext regbank"' failed.
Aborted

Reproducer attached. We are still hitting this with ToT Clang and LLVM.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191024/1ca497be/attachment.html>


More information about the llvm-bugs mailing list