[llvm-bugs] [Bug 50919] New: Register Coalescer failed with Assertion `isReg() && "This is not a register operand!"'

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 28 02:17:19 PDT 2021


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

            Bug ID: 50919
           Summary: Register Coalescer failed with Assertion `isReg() &&
                    "This is not a register operand!"'
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: guopeilin1 at huawei.com
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, smithp352 at googlemail.com,
                    Ties.Stuij at arm.com

Created attachment 24984
  --> https://bugs.llvm.org/attachment.cgi?id=24984&action=edit
test case

llc -mtriple=aarch64-arm-none-eabi -run-pass=simple-register-coalescing
test.mir
Failed with the following stack dump:
llc: llvm-project/llvm/include/llvm/CodeGen/MachineOperand.h:359:
llvm::Register llvm::MachineOperand::getReg() const: Assertion `isReg() &&
"This is not a register operand!"' failed.
And this is caused by Register Coalescer in the following code:

-- 
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/20210628/b69612e5/attachment.html>


More information about the llvm-bugs mailing list