if (iro == iro_Deleted)
return n;
+ /* Remove nodes with dead (Bad) input.
+ Run always for transformation induced Bads. */
+ n = gigo(n);
+ if (is_Bad(n))
+ return n;
+
/* constant expression evaluation / constant folding */
if (get_opt_constant_folding()) {
/* neither constants nor Tuple values can be evaluated */
(iro == iro_Proj)) /* Flags tested local. */
n = transform_node(n);
- /* Remove nodes with dead (Bad) input.
- Run always for transformation induced Bads. */
- n = gigo(n);
-
/* Now we can verify the node, as it has no dead inputs any more. */
irn_verify(n);