<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - combining addressing modes increases compile time significantly for the testcase"
   href="https://bugs.llvm.org/show_bug.cgi?id=39625">39625</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>combining addressing modes increases compile time significantly for the testcase
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Common Code Generator Code
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wmi@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Recently we run into a compile time problem when we compiled a target. I got a
synthetic testcase to reproduce the problem. For the problematic testcase, most
of the compile time was spent on FillPlaceholders and InsertPlaceholders
functions. After disabing combing different complex addr modes, the problem
went away.

To reproduce the problem:

$ time -p ~/workarea/llvm-r345241/rbuild/bin/llc -O3 < 1.ll > /tmp/1.s
real 38.16
user 37.99
sys 0.16

$ time -p ~/workarea/llvm-r344255/rbuild/bin/llc -O3
-disable-complex-addr-modes < 1.ll > /tmp/1.s
real 6.68
user 6.56
sys 0.11

Note: The larger the 1.ll is, the more serious the problem. However, I cannot
upload file larger than 1M because of the attachment size limit. For the actual
case, without complex-addr-modes, the compilation took 60s, with
complex-addr-modes, it took >1000s.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>