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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to