projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53db8c6
)
remove propagation of Unknown. This causes problems in backends in in
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 24 Mar 2006 10:17:45 +0000
(10:17 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 24 Mar 2006 10:17:45 +0000
(10:17 +0000)
Firm "hand" construction
[r7523]
ir/ir/iropt.c
patch
|
blob
|
history
diff --git
a/ir/ir/iropt.c
b/ir/ir/iropt.c
index
bfef29e
..
1d0d54a
100644
(file)
--- a/
ir/ir/iropt.c
+++ b/
ir/ir/iropt.c
@@
-3500,8
+3500,15
@@
gigo (ir_node *node)
if (is_Bad(pred))
return new_Bad();
+#if 0
+ /* Propagating Unknowns here seems to be a bad idea, because
+ sometimes we need a node as a input and did not want that
+ it kills it's user.
+ However, i might be useful to move this into a later phase
+ (it you thing optimizing such code is useful). */
if (is_Unknown(pred) && mode_is_data(get_irn_mode(node)))
return new_Unknown(get_irn_mode(node));
+#endif
}
}
#if 0