[llvm-bugs] [Bug 37010] New: Large call sequence causes FastISel compile time problems

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 4 16:10:54 PDT 2018


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

            Bug ID: 37010
           Summary: Large call sequence causes FastISel compile time
                    problems
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: andrew.kaylor at intel.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20158
  --> https://bugs.llvm.org/attachment.cgi?id=20158&action=edit
Reproducing bitcode

A long sequence of function calls can cause the FastISel compile time to blow
up as we try to sink local value materializations.

The problem can be reproduced using a test case that looks like this (bitcode
attached):

---

double f(double d) { return d * d; }

int main() {
  printf("%f\n", f(1.0));
  printf("%f\n", f(2.0));
  printf("%f\n", f(3.0));
  ...
  printf("%f\n", f(15000.0));
  exit(0);
}

---

This problem was introduced in r327581 (https://reviews.llvm.org/D43093).

-- 
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/20180404/7558101e/attachment.html>


More information about the llvm-bugs mailing list