diff options
author | Jiufu Guo <guojiufu@linux.ibm.com> | 2019-06-13 18:55:55 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-06-13 12:55:55 -0600 |
commit | 1d53751dd563d30e4400e4a2da530d8ea07da44b (patch) | |
tree | fe574e451699bdc6fbd522af705e92cbdab93e9c /gcc/tree-hasher.h | |
parent | 351ac9c582a8b73e8783618c369f25bbbb24eac9 (diff) | |
download | gcc-1d53751dd563d30e4400e4a2da530d8ea07da44b.zip gcc-1d53751dd563d30e4400e4a2da530d8ea07da44b.tar.gz gcc-1d53751dd563d30e4400e4a2da530d8ea07da44b.tar.bz2 |
re PR tree-optimization/77820 (A jump threading opportunity with conditionals)
PR tree-optimization/77820
* tree-ssa-threadedge.c
(edge_forwards_cmp_to_conditional_jump_through_empty_bb_p): New
function.
(thread_across_edge): Add call to
edge_forwards_cmp_to_conditional_jump_through_empty_bb_p.
PR tree-optimization/77820
* gcc.dg/tree-ssa/phi_on_compare-1.c: New testcase.
* gcc.dg/tree-ssa/phi_on_compare-2.c: New testcase.
* gcc.dg/tree-ssa/phi_on_compare-3.c: New testcase.
* gcc.dg/tree-ssa/phi_on_compare-4.c: New testcase.
* gcc.dg/tree-ssa/split-path-6.c: Update testcase.
* gcc.target/sh/pr51244-20.c: Update testcase.
Co-Authored-By: Lijia He <helijia@linux.ibm.com>
From-SVN: r272261
Diffstat (limited to 'gcc/tree-hasher.h')
0 files changed, 0 insertions, 0 deletions