diff options
author | Feng Xue <fxue@gcc.gnu.org> | 2019-09-19 14:16:01 +0000 |
---|---|---|
committer | Feng Xue <fxue@gcc.gnu.org> | 2019-09-19 14:16:01 +0000 |
commit | efe126563bb8d28cb3958423a735d0021e75702f (patch) | |
tree | 4b84282f7c918cd7fd020036d4a789c154be8d0d /libcpp/errors.c | |
parent | c449d3ae28ff4e133114fb67dbf7dcc7a95ca5d5 (diff) | |
download | gcc-efe126563bb8d28cb3958423a735d0021e75702f.zip gcc-efe126563bb8d28cb3958423a735d0021e75702f.tar.gz gcc-efe126563bb8d28cb3958423a735d0021e75702f.tar.bz2 |
Use post-dom info to update if/switch predicate
2019-09-19 Feng Xue <fxue@os.amperecomputing.com>
* ipa-fnsummary.c (set_cond_stmt_execution_predicate): Do not compute
trivial predicate for condition branch.
(set_switch_stmt_execution_predicate): Do not compute trivial predicate
for switch case.
(compute_bb_predicates): Update predicate based on post-dominating
relationship.
(analyze_function_body): Calculate post-dominating information.
2019-09-19 Feng Xue <fxue@os.amperecomputing.com>
* gcc.dg/ipa/pr91089.c: Add a new function and pattern.
From-SVN: r275963
Diffstat (limited to 'libcpp/errors.c')
0 files changed, 0 insertions, 0 deletions