[llvm-bugs] [Bug 50049] New: Apparently-valid .ll file hangs llc

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 20 16:22:43 PDT 2021


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

            Bug ID: 50049
           Summary: Apparently-valid .ll file hangs llc
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: srj at google.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 24775
  --> https://bugs.llvm.org/attachment.cgi?id=24775&action=edit
.ll file that will hang llc with certain arguments.

The enclosed .ll file was generated by Halide. 

For builds of llc under LLVM12-rc1 and current top-of-tree LLVM13, 

   $ llc -mcpu=penryn -o - -O3 bad.ll

hangs (or takes exponential time). 

Notes:
- Using -O0 "heals" this, but -O1 and -O2 also appear to hang.
- Using other x86 variants for -mcpu mostly seem to work. (-mcpu=corei7 also
hangs, but most others I've tried seem to succeed.)

-- 
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/20210420/4378b306/attachment.html>


More information about the llvm-bugs mailing list