<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 - -time-compilations=N for N > 1 drops data points randomly"
href="https://bugs.llvm.org/show_bug.cgi?id=37456">37456</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>-time-compilations=N for N > 1 drops data points randomly
</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>MacOS X
</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>llc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rtereshin@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>-time-compilations=N for N > 1 drops data points randomly
# X86 DAG->DAG Instruction Selection, runs for about 1 ms
<span class="quote">> for _ in (seq 20); ./bin/llc -mtriple x86_64-- -O0 ../../test/CodeGen/X86/fast-isel-x86-64.ll -o /dev/null -time-passes -time-compilations=1000 2>&1 | grep -c 'X86 DAG->DAG Instruction Selection'; end</span >
862
885
842
864
865
846
861
874
858
840
865
847
874
853
875
873
859
869
860
876
>
# Fast Register Allocator, runs for about 0.2 ms
<span class="quote">> for _ in (seq 20); ./bin/llc -mtriple x86_64-- -O0 ../../test/CodeGen/X86/fast-isel-x86-64.ll -o /dev/null -time-passes -time-compilations=1000 2>&1 | grep -c 'Fast Register Allocator'; end</span >
258
255
233
251
264
254
280
245
262
260
276
262
254
271
272
263
260
260
257
279
>
# Rewrite Symbols, runs for unmeasurably small amount of time
<span class="quote">> for _ in (seq 20); ./bin/llc -mtriple x86_64-- -O0 ../../test/CodeGen/X86/fast-isel-x86-64.ll -o /dev/null -time-passes -time-compilations=1000 2>&1 | grep -c 'Rewrite Symbols'; end</span >
900
893
884
906
887
906
885
899
897
883
909
870
911
900
898
912
892
894
896
908
>
It behaves this way for any input LLVM IR I've tried, big (like sqlite3
amalgamation) and small (like shown above), for any target I've tried (x86-64
and AArch64), and any pass.
Tried on trunk llc as of time of writing (r332192) under macOS on x86-64 iMac.</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>