diff options
author | Xin Tong <trent.xin.tong@gmail.com> | 2017-01-02 20:27:23 +0000 |
---|---|---|
committer | Xin Tong <trent.xin.tong@gmail.com> | 2017-01-02 20:27:23 +0000 |
commit | 2940231ff0c257cbeb983a8a6dbcd4ed6b1bfcbb (patch) | |
tree | 9cef24a92dd4b37437cb0b6236f451800fac2cad /llvm/lib/Transforms/Utils/CodeExtractor.cpp | |
parent | f42339015643d7809a8b81afb8685fb19e069c0f (diff) | |
download | bcm5719-llvm-2940231ff0c257cbeb983a8a6dbcd4ed6b1bfcbb.tar.gz bcm5719-llvm-2940231ff0c257cbeb983a8a6dbcd4ed6b1bfcbb.zip |
Make sure total loop body weight is preserved in loop peeling
Summary:
Regardless how the loop body weight is distributed, we should preserve
total loop body weight. i.e. we should have same weight reaching the body of the loop
or its duplicates in peeled and unpeeled case.
Reviewers: mkuper, davidxl, anemet
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D28179
llvm-svn: 290833
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeExtractor.cpp')
0 files changed, 0 insertions, 0 deletions