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: unassignedb...@nondot.org
          Reporter: xinglong.l...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to