diff options
author | Martin Liska <mliska@suse.cz> | 2017-02-03 16:22:47 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-02-03 15:22:47 +0000 |
commit | 46a2ab580a762b0fc3e64dc4ab24d459a4bd1fd2 (patch) | |
tree | fab289c285703064b0e0cefe1edc142fb8fff07c /gcc/passes.def | |
parent | 31a31c9dc19b0a20a69c282b8760147bf79e37a6 (diff) | |
download | gcc-46a2ab580a762b0fc3e64dc4ab24d459a4bd1fd2.zip gcc-46a2ab580a762b0fc3e64dc4ab24d459a4bd1fd2.tar.gz gcc-46a2ab580a762b0fc3e64dc4ab24d459a4bd1fd2.tar.bz2 |
Simplify creation of target_clones (PR lto/66295)
2017-02-03 Martin Liska <mliska@suse.cz>
PR lto/66295
* multiple_target.c (create_dispatcher_calls): Redirect edge
from a caller of a dispatcher.
(expand_target_clones): Make the clones local.
(ipa_target_clone): Do both target clones and resolvers.
(ipa_dispatcher_calls): Remove the pass.
(pass_dispatcher_calls::gate): Likewise.
(make_pass_dispatcher_calls): Likewise.
* passes.def (pass_target_clone): Put as very first IPA early
pass.
2017-02-03 Martin Liska <mliska@suse.cz>
PR lto/66295
* gcc.target/i386/mvc9.c: New test.
From-SVN: r245155
Diffstat (limited to 'gcc/passes.def')
-rw-r--r-- | gcc/passes.def | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/passes.def b/gcc/passes.def index 131d659..c09ec22 100644 --- a/gcc/passes.def +++ b/gcc/passes.def @@ -136,6 +136,7 @@ along with GCC; see the file COPYING3. If not see POP_INSERT_PASSES () POP_INSERT_PASSES () + NEXT_PASS (pass_target_clone); NEXT_PASS (pass_ipa_chkp_produce_thunks); NEXT_PASS (pass_ipa_auto_profile); NEXT_PASS (pass_ipa_free_inline_summary); @@ -155,7 +156,6 @@ along with GCC; see the file COPYING3. If not see NEXT_PASS (pass_ipa_devirt); NEXT_PASS (pass_ipa_cp); NEXT_PASS (pass_ipa_cdtor_merge); - NEXT_PASS (pass_target_clone); NEXT_PASS (pass_ipa_hsa); NEXT_PASS (pass_ipa_inline); NEXT_PASS (pass_ipa_pure_const); @@ -174,7 +174,6 @@ along with GCC; see the file COPYING3. If not see INSERT_PASSES_AFTER (all_late_ipa_passes) NEXT_PASS (pass_materialize_all_clones); NEXT_PASS (pass_ipa_pta); - NEXT_PASS (pass_dispatcher_calls); NEXT_PASS (pass_omp_simd_clone); TERMINATE_PASS_LIST (all_late_ipa_passes) |