summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/CMakeLists.txt
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2016-07-11 16:40:17 +0000
committerDehao Chen <dehao@google.com>2016-07-11 16:40:17 +0000
commit29d2641f52fc1410845e874b829b7c039e01c50e (patch)
treeb51ac17753d13ce6484ca121f4abadbb19346faf /llvm/lib/Transforms/Vectorize/CMakeLists.txt
parentddc3cc65cb16b3f655782d29f9fccb7488f826ec (diff)
downloadbcm5719-llvm-29d2641f52fc1410845e874b829b7c039e01c50e.tar.gz
bcm5719-llvm-29d2641f52fc1410845e874b829b7c039e01c50e.zip
Tune the weight propagation algorithm for sample profile.
Summary: Handle the case when there is only one incoming/outgoing edge for a visited basic block: use the block weight to adjust edge weight even when the edge has been visited before. This can help reduce inaccuracies introduced by incorrect basic block profile, as shown in the updated unittest. Reviewers: davidxl, dnovillo Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D22180 llvm-svn: 275072
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud