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
b2ff7205
Commit
b2ff7205
authored
Aug 24, 2011
by
Manuel Mohr
Committed by
Matthias Braun
Sep 06, 2011
Browse files
sparc: Stop looking for delay slot node when leaving current block.
parent
c5b58c80
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/sparc/sparc_emitter.c
View file @
b2ff7205
...
...
@@ -398,6 +398,11 @@ static const ir_node *pick_delay_slot_for(const ir_node *node)
if
(
emits_multiple_instructions
(
schedpoint
))
continue
;
/* if check and schedpoint are not in the same block, give up. */
if
(
check
!=
NULL
&&
get_nodes_block
(
check
)
!=
get_nodes_block
(
schedpoint
))
break
;
/* allowed for delayslot: any instruction which is not necessary to
* compute an input to the branch. */
if
(
check
!=
NULL
...
...
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