[llvm-bugs] [Bug 45194] New: clang crashes when pass -enable-hexagon-sdnode-sched to Hexagon backend

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 13 06:43:40 PDT 2020


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

            Bug ID: 45194
           Summary: clang crashes when pass -enable-hexagon-sdnode-sched
                    to Hexagon backend
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: Hexagon
          Assignee: unassignedbugs at nondot.org
          Reporter: xinglong.liao at gmail.com
                CC: llvm-bugs at lists.llvm.org

cmd:
clang --target=hexagon -S test.c -o test.s -O1 -mllvm
-enable-hexagon-sdnode-sched

result:
clang crashes with assertion:
llvm::MachineInstr* llvm::SUnit::getInstr() const: Assertion `!Node && "Reading
MachineInstr of SUnit with SDNode!"` failed.

expected:
generate correct test.s

-- 
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/20200313/213f2156/attachment.html>


More information about the llvm-bugs mailing list