]> granicus.if.org Git - llvm/commit
Enable Loop Sink pass for functions that has profile.
authorDehao Chen <dehao@google.com>
Wed, 9 Nov 2016 00:58:19 +0000 (00:58 +0000)
committerDehao Chen <dehao@google.com>
Wed, 9 Nov 2016 00:58:19 +0000 (00:58 +0000)
commit3885b5c47869c7fb3b007236c403efcf1171fece
tree888e75eafc922e3773ac2e7cd786d6d8584eae89
parentd9a93c097e4ac496350f195ebe92e70d3e6d2110
Enable Loop Sink pass for functions that has profile.

Summary: For functions with profile data, we are confident that loop sink will be optimal in sinking code.

Reviewers: davidxl, hfinkel

Subscribers: mehdi_amini, mzolotukhin, llvm-commits

Differential Revision: https://reviews.llvm.org/D26155

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286325 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/PassManagerBuilder.cpp
lib/Transforms/Scalar/LoopSink.cpp
test/Other/pass-pipelines.ll
test/Transforms/LICM/loopsink.ll
test/Transforms/LICM/sink.ll