diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-02 18:50:51 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-02 18:50:51 +0000 |
commit | 531b10fcb0fe5c86576bda5fd201d8acc7db4525 (patch) | |
tree | 2c4953f29803cb45e33d5e4c0629352930996603 /gcc/cp | |
parent | 8153b03d4ba0090c68bf08239a582852c51ee920 (diff) | |
download | gcc-531b10fcb0fe5c86576bda5fd201d8acc7db4525.zip gcc-531b10fcb0fe5c86576bda5fd201d8acc7db4525.tar.gz gcc-531b10fcb0fe5c86576bda5fd201d8acc7db4525.tar.bz2 |
stmt.c (emit_case_bit_tests): Remove.
gcc/
* stmt.c (emit_case_bit_tests): Remove.
(expand_case): Remove expand_switch_using_bit_tests_p code.
* tree-switch-conversion.c (hoist_edge_and_branch_if_true): New.
(MAX_CASE_BIT_TESTS): Moved from stmt.c to here.
(lshift_cheap_p): Likewise.
(expand_switch_using_bit_tests_p): Likewise.
(struct case_bit_test): Likewise.
(case_bit_test_cmp): Likewise.
(emit_case_bit_tests): New implementation for GIMPLE.
(gen_inbound_check): Do not release post-dominator info here.
(process_switch): Reorder code. Expand as bit tests if it
looks like a win.
(do_switchconv): Release post-dominator info here if something
changed.
(struct gimple_opt_pass): Verify more.
* tree.h (expand_switch_using_bit_tests_p): Remove prototype.
testsuite/
* gcc.dg/tree-ssa/pr36881.c: Fix test case to not expand as bit tests.
From-SVN: r189173
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions