[PATCH] D19338: New code hoisting pass based on GVN (optimistic approach)
Daniel Berlin via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 22 11:42:28 PDT 2016
And what is the performance improvement?
On Fri, Apr 22, 2016 at 11:37 AM, Sebastian Pop <sebpop at gmail.com> wrote:
> sebpop removed rL LLVM as the repository for this revision.
> sebpop updated this revision to Diff 54684.
> sebpop added a comment.
>
> The updated patch from Aditya has some cleanups, compile time
> improvements, and uses less memory.
>
> We measured the total number of instructions executed when "clang -cc1" is
> compiling all the preprocessed files of the llvm test-suite through
> valgrind:
>
> - with patch: 926457230716
> - without: 923166450214
>
> Overall compilation overhead of the new pass is 0.35%.
>
>
> http://reviews.llvm.org/D19338
>
> Files:
> llvm/include/llvm/InitializePasses.h
> llvm/include/llvm/LinkAllPasses.h
> llvm/include/llvm/Transforms/Scalar.h
> llvm/include/llvm/Transforms/Scalar/GVN.h
> llvm/lib/Passes/PassRegistry.def
> llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
> llvm/lib/Transforms/Scalar/CMakeLists.txt
> llvm/lib/Transforms/Scalar/GVNHoist.cpp
> llvm/lib/Transforms/Scalar/Scalar.cpp
> llvm/test/Transforms/GVN/hoist.ll
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160422/d4d21ef9/attachment.html>
More information about the llvm-commits
mailing list