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 | b03e50aaa19727a75cc1e51e1124f3c92292e9be (patch) | |
tree | 2c4953f29803cb45e33d5e4c0629352930996603 /gcc/tree.h | |
parent | 39af7fcf30b9e802a74116a0e610c2c9fff1c1e6 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@189173 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index 43d5fdc69c6..390f77c1fc1 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -5728,8 +5728,6 @@ extern bool parse_input_constraint (const char **, int, int, int, int, const char * const *, bool *, bool *); extern void expand_asm_stmt (gimple); extern tree resolve_asm_operand_names (tree, tree, tree, tree); -extern bool expand_switch_using_bit_tests_p (tree, tree, unsigned int, - unsigned int); extern void expand_case (gimple); #ifdef HARD_CONST /* Silly ifdef to avoid having all includers depend on hard-reg-set.h. */ |