[llvm-bugs] [Bug 43971] New: [SelectionDAG] Loop in SelectionDAG (DAGCombiner)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 11 17:12:55 PST 2019


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

            Bug ID: 43971
           Summary: [SelectionDAG] Loop in SelectionDAG (DAGCombiner)
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: Wolfgang_Pieb at playstation.sony.com
                CC: llvm-bugs at lists.llvm.org

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

The attached IR, when compiled with llc at -O2, causes SelectionDAG to loop,
apparently caused by DAGCombiner. The following commit seems to be the cause:

commit a1e5ef3fd424c105e5c1a4c310bde8b3b2c222c6
Author: Amaury Sechet <deadalnix at gmail.com>
Date:   Tue Aug 27 11:06:09 2019 +0000

    [DAGCombiner] Add node to the worklist in topological order after
relegalization.

-- 
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/20191112/dc107504/attachment.html>


More information about the llvm-bugs mailing list