[llvm-bugs] [Bug 49122] New: opt -instcombine fails with "LLVM ERROR: Instruction Combining seems stuck in an infinite loop after 100 iterations."

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 10 01:45:31 PST 2021


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

            Bug ID: 49122
           Summary: opt -instcombine fails with "LLVM ERROR: Instruction
                    Combining seems stuck in an infinite loop after 100
                    iterations."
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

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

Reproduce with:
 opt -S -o - bbi-52743.ll -instcombine

Result:
 LLVM ERROR: Instruction Combining seems stuck in an infinite loop after 100
iterations.

This seems to start happening with commit 6102310d814a:

    [InstSimplify][EarlyCSE] Try to CSE PHI nodes in the same basic block

Before the above commit it succeeds with
 -instcombine-infinite-loop-threshold=2

I'm not sure if this is the same problem as is reported in
https://bugs.llvm.org/show_bug.cgi?id=47788
and
https://bugs.llvm.org/show_bug.cgi?id=47344
or not.

-- 
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/20210210/66681bb6/attachment.html>


More information about the llvm-bugs mailing list