[PATCH] D73835: [IRBuilder] Virtualize IRBuilder

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 07:05:05 PST 2020


fhahn added a comment.

In D73835#1865599 <https://reviews.llvm.org/D73835#1865599>, @nikic wrote:

> As a sanity check for compile-time I've compared build times for zend_execute.c (about 60k lines of C code before expansion). Raw perf stat results at https://gist.github.com/nikic/9a87083358d98f34e8e64851a84ff864, here retired instruction counts for three runs each (timing results are too noisy on my machine):
>
>           | before         | after
>   -O2 -g  | 68.602.837.460 | 68.821.051.076
>           | 68.566.922.163 | 68.538.048.917
>           | 68.538.997.311 | 68.509.463.180
>   -O0 -g  | 25.162.639.627 | 25.135.102.049
>           | 25.129.536.208 | 25.093.005.413
>           | 25.146.124.560 | 25.119.503.250
>   -O0 -g0 | 16.232.387.222 | 16.215.831.899
>           | 16.200.846.485 | 16.231.492.196
>           | 16.216.916.110 | 16.192.568.580
>
>
> It looks like the difference is in the noise, at least for this test case.


It might be also interesting to gather numbers for the CTMark part of the test-suite.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73835/new/

https://reviews.llvm.org/D73835





More information about the llvm-commits mailing list