<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - GVN Compile time 10% regression caused by revision 176408"
   href="http://llvm.org/bugs/show_bug.cgi?id=15540">15540</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GVN Compile time 10% regression caused by revision 176408
          </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>Core LLVM classes
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>yi.jiang.llvm@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Here is how we build the compiler,
1) We check out source revision 176407 and revision 176408 from trunk.
2) We configure and build the compiler.

The example is originated from TraverseSchema.cpp in 483.xalancbmk (SEPC2006)

We first generate -O0 .bc file and apply two opt respectively. Please see the
attachment common.ll.

$OPT  -Os common.bc --time-passes -o /dev/null

Here is the  result: 
r176407 

   ---User Time---   --System Time--   --User+System--   ---Wall Time---  ---
Name ---
   0.1039 ( 14.7%)   0.0006 (  2.3%)   0.1045 ( 14.3%)   0.1044 ( 14.3%) 
Global Value Numbering

r176408
   ---User Time---   --System Time--   --User+System--   ---Wall Time---  ---
Name ---
   0.1170 ( 16.2%)   0.0006 (  2.4%)   0.1176 ( 15.7%)   0.1175 ( 15.7%) 
Global Value Numbering


It shows more than 10% regression on this case.</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>