projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1378b3d
)
sparc: fix wrong delay slot test
author
Matthias Braun
<matthias.braun@kit.edu>
Thu, 9 Aug 2012 16:34:30 +0000
(18:34 +0200)
committer
Matthias Braun
<matthias.braun@kit.edu>
Thu, 9 Aug 2012 16:35:19 +0000
(18:35 +0200)
ir/be/sparc/sparc_emitter.c
patch
|
blob
|
history
diff --git
a/ir/be/sparc/sparc_emitter.c
b/ir/be/sparc/sparc_emitter.c
index
0719804
..
4fcaeda
100644
(file)
--- a/
ir/be/sparc/sparc_emitter.c
+++ b/
ir/be/sparc/sparc_emitter.c
@@
-402,7
+402,7
@@
static bool can_move_up_into_delayslot(const ir_node *node, const ir_node *to)
/* register window cycling effects at Restore aren't correctly represented
* in the graph yet so we need this exception here */
/* register window cycling effects at Restore aren't correctly represented
* in the graph yet so we need this exception here */
- if (is_sparc_Restore(
to) || is_sparc_RestoreZero(to
)) {
+ if (is_sparc_Restore(
node) || is_sparc_RestoreZero(node
)) {
return false;
} else if (is_sparc_Call(to)) {
/* node must not overwrite any of the inputs of the call,
return false;
} else if (is_sparc_Call(to)) {
/* node must not overwrite any of the inputs of the call,