[PATCH] D38154: [PassManager] Run global opts after the inliner

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 23:35:54 PDT 2017


davide added a comment.

In https://reviews.llvm.org/D38154#893938, @MatzeB wrote:

> For the record, measuring CTMark can be as easy as this without any LNT involved:
>
>   git clone http://llvm.org/git/test-suite.git
>   mkdir test-suite-build
>   cd test-suite-build
>   cmake -DCMAKE_C_COMPILER=/path/to/my/clang -GNinja -DTEST_SUITE_SUBDIRS=CTMark -DTEST_SUITE_RUN_BENCHMARKS=Off ../test-suite
>   ninja
>   /path/to/my/llvm/builddir/bin/llvm-lit -o result.json .
>
>
> Repeat for multiple compilers/patches (or with different -DCMAKE_C_FLAGS etc.) and in the end use compare.py to compare the results of multiple runs.


Oh, thanks Matthias, that's very useful.


Repository:
  rL LLVM

https://reviews.llvm.org/D38154





More information about the llvm-commits mailing list