* tree-ssa-threadupdate.c (redirection_data): Record two
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Nov 2013 21:57:35 +0000 (21:57 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Nov 2013 21:57:35 +0000 (21:57 +0000)
commit11af02d8d5c2209f01226a5e17badf77df4cd741
treee8518d1b6b6c88f8ffcd34ddf7a3b4bd7aac6bd2
parent8b05c40f011139a91dfe0767b8b96bf0c548eea4
* tree-ssa-threadupdate.c (redirection_data): Record two
duplicated blocks instead of just one.
(local_info): Explain why we don't create a template for the
second duplicated block in a thread path.
(create_block_for_threading): Accept argument indicating array
index into redirection_data to store its result.
(lookup_redirection_data): Initialize both duplicate blocks.
(ssa_create_duplicates): If a jump threading path needs multiple
blocks duplicated, then duplicate them.
(ssa_fix_duplicate_block_edges): Corresponding changes.
(ssa_fixup_template_block, thread_single_edge):  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204982 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-threadupdate.c