<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 - Negative numbers reported with: opt -time-passes -track-memory"
   href="https://bugs.llvm.org/show_bug.cgi?id=34535">34535</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Negative numbers reported with: opt -time-passes -track-memory
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>opt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>anmparal@cisco.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Why are there negative numbers in the Mem column?

opt -time-passes -track-memory ./p0.bc -O3 -o p0.O3.bc

===-------------------------------------------------------------------------===
                      ... Pass execution timing report ...
===-------------------------------------------------------------------------===



---User Time---   --User+System--   ---Wall Time---  ---Mem---  --- Name ---
0.0010 ( 33.3%)   0.0010 ( 33.3%)   0.0012 ( 41.2%)     324576  Simplify the
CFG

 0.0000 (  0.0%)   0.0000 (  0.0%)   0.0000 (  0.4%)      -7184  Scalar
Evolution Analysis


Ref: <a href="http://lists.llvm.org/pipermail/llvm-dev/2017-September/117069.html">http://lists.llvm.org/pipermail/llvm-dev/2017-September/117069.html</a></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>