r189173 - in /trunk/gcc: ChangeLog stmt.c tests...
steven@gcc.gnu.org
steven@gcc.gnu.org
Mon Jul 2 18:50:00 GMT 2012
Author: steven
Date: Mon Jul 2 18:50:51 2012
New Revision: 189173
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189173
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/stmt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr36881.c
trunk/gcc/tree-switch-conversion.c
trunk/gcc/tree.h
More information about the Gcc-cvs
mailing list