[llvm-bugs] [Bug 49393] New: llc -O1 results in "Unanalyzed node not noticed?", "UNREACHABLE executed at ../lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:482!"

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 2 02:17:34 PST 2021


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

            Bug ID: 49393
           Summary: llc -O1 results in "Unanalyzed node not noticed?",
                    "UNREACHABLE executed at
                    ../lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:482!"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 24581
  --> https://bugs.llvm.org/attachment.cgi?id=24581&action=edit
bbi-53378_x86.ll reproducer

llvm commit: 4444b343d7e
Reproduce with:
 llc -O1 -o - bbi-53378_x86.ll

Result:
 Unanalyzed node not noticed?
 t25: i16 = fp_to_sint t43

 UNREACHABLE executed at ../lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:482!

This seems to start happening with 960cbc53ca:

    [DAGCombine] Remove dead node when it is created by getNegatedExpression

    We hit the compiling time reported by
https://bugs.llvm.org/show_bug.cgi?id=46877
    and the reason is the same as D77319. So we need to remove the dead node we
created
    to avoid increase the problem size of DAGCombiner.

    Reviewed By: Spatel

    Differential Revision: https://reviews.llvm.org/D86183

-- 
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/20210302/d7a6152a/attachment.html>


More information about the llvm-bugs mailing list