diff options
author | Kang Zhang <shkzhang@cn.ibm.com> | 2019-08-15 13:05:16 +0000 |
---|---|---|
committer | Kang Zhang <shkzhang@cn.ibm.com> | 2019-08-15 13:05:16 +0000 |
commit | 2a903c0b679bae1919f9fc01f78e4bc6cff2add0 (patch) | |
tree | 48d7b250e77b103e5a943c9a607640245054b572 /llvm/tools/llvm-cov/SourceCoverageView.cpp | |
parent | 3a99101812de51ac452bd078eab2474eac5d43ce (diff) | |
download | llvm-2a903c0b679bae1919f9fc01f78e4bc6cff2add0.zip llvm-2a903c0b679bae1919f9fc01f78e4bc6cff2add0.tar.gz llvm-2a903c0b679bae1919f9fc01f78e4bc6cff2add0.tar.bz2 |
[CodeGen] Do the Simple Early Return in block-placement pass to optimize the blocks
Summary:
This patch has trigger a bug of r368339, and the r368339 has been reverted, So upstream this patch again.
In `block-placement` pass, it will create some patterns for unconditional we can do the simple early retrun.
But the `early-ret` pass is before `block-placement`, we don't want to run it again.
This patch is to do the simple early return to optimize the blocks at the last of `block-placement`.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D63972
llvm-svn: 368997
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions