Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
3debaa81
Commit
3debaa81
authored
May 18, 2011
by
Andreas Zwinkau
Browse files
fix opt/jumpthreading7
parent
64a05bd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/jumpthreading.c
View file @
3debaa81
...
...
@@ -716,6 +716,10 @@ static void thread_jumps(ir_node* block, void* data)
if
(
copy_block
==
NULL
)
return
;
/* We might thread the condition block of an infinite loop,
* such that there is no path to End anymore. */
keep_alive
(
block
);
/* we have to remove the edge towards the pred as the pred now
* jumps into the true_block. We also have to shorten Phis
* in our block because of this */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment