[PATCH] D73835: [IRBuilder] Virtualize IRBuilder
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 8 07:56:21 PST 2020
nikic added a comment.
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.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73835/new/
https://reviews.llvm.org/D73835
More information about the llvm-commits
mailing list