re PR tree-optimization/65658 (Jump threading too pessimistic when optimizing for size)

PR tree-optimization/65658
        * tree-ssa-threadupdate.c (redirection_block_p): Remove
        redundant test for GIMPLE_ASSIGN in last change.

From-SVN: r222247
This commit is contained in:
Jeff Law 2015-04-20 13:35:50 -06:00 committed by Jeff Law
parent 1e7e62b114
commit cb864fbc7e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2015-04-20 Jeff Law <law@redhat.com>
PR tree-optimization/65658
* tree-ssa-threadupdate.c (redirection_block_p): Remove
redundant test for GIMPLE_ASSIGN in last change.
2015-04-19 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (set_pic_reg_ever_live): Remove.

View File

@ -1450,8 +1450,7 @@ redirection_block_p (basic_block bb)
&& (gimple_code (gsi_stmt (gsi)) == GIMPLE_LABEL
|| is_gimple_debug (gsi_stmt (gsi))
|| gimple_nop_p (gsi_stmt (gsi))
|| (gimple_code (gsi_stmt (gsi)) == GIMPLE_ASSIGN
&& gimple_clobber_p (gsi_stmt (gsi)))))
|| gimple_clobber_p (gsi_stmt (gsi))))
gsi_next (&gsi);
/* Check if this is an empty block. */