[llvm-bugs] [Bug 47361] New: opt -instcombine -disable-basic-aa -available-load-scan-limit=0 failing with "LLVM ERROR: Instruction Combining seems stuck in an infinite loop after 100 iterations."

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 31 00:57:26 PDT 2020


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

            Bug ID: 47361
           Summary: opt -instcombine -disable-basic-aa
                    -available-load-scan-limit=0 failing with "LLVM ERROR:
                    Instruction Combining seems stuck in an infinite loop
                    after 100 iterations."
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: llvm-bugs at lists.llvm.org

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

Reproduce with:
 opt -instcombine -disable-basic-aa -available-load-scan-limit=0 -S -o -
bbi-46639.ll

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

It passes if we just raise the number of allowed iterations to 101 with
-instcombine-infinite-loop-threshold=101

Perhaps the many iterations is just a result of making life hard for
instcombine with -disable-basic-aa -available-load-scan-limit=0, I don't know.

-- 
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/20200831/4cdcf63f/attachment.html>


More information about the llvm-bugs mailing list