From c2de0a9d9eb3e3d6ed3ec7e9141570199b286a93 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 24 Mar 2006 10:17:45 +0000 Subject: [PATCH] remove propagation of Unknown. This causes problems in backends in in Firm "hand" construction [r7523] --- ir/ir/iropt.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index bfef29efa..1d0d54a02 100644 --- 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 -- 2.20.1