[llvm-bugs] [Bug 45253] New: [NewPM] Quadratic IR size and compile time

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 19 10:41:38 PDT 2020


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

            Bug ID: 45253
           Summary: [NewPM] Quadratic IR size and compile time
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dmajor at mozilla.com
                CC: chandlerc at gmail.com, htmldeveloper at gmail.com,
                    jmuizelaar at mozilla.com, llvm-bugs at lists.llvm.org

We have a case where the new pass manager takes much longer to compile than the
legacy pass manager: https://godbolt.org/z/QHjbwq

Under the new PM, b's copy constructor has tons of allocas that appear to grow
quadratically with the number of smartptr members in a.

Oddly enough we only see it on the x86_64-apple-darwin target.

-- 
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/20200319/f5c56186/attachment.html>


More information about the llvm-bugs mailing list