Remove a redundant test: The mode of an operand of an Eor must match the mode of...
[libfirm] / ir / lower / lower_intrinsics.c
index 1e77eb6..466950b 100644 (file)
@@ -89,7 +89,7 @@ static void call_mapper(ir_node *node, void *env) {
 }
 
 /* Go through all graphs and map calls to intrinsic functions. */
-unsigned lower_intrinsics(i_record *list, int length) {
+unsigned lower_intrinsics(i_record *list, int length, int part_block_used) {
        int            i, n_ops = get_irp_n_opcodes();
        ir_graph       *irg;
        pmap           *c_map = pmap_create_ex(length);
@@ -120,6 +120,9 @@ unsigned lower_intrinsics(i_record *list, int length) {
        for (i = get_irp_n_irgs() - 1; i >= 0; --i) {
                irg = get_irp_irg(i);
 
+               if (part_block_used)
+                       collect_phiprojs(irg);
+
                wenv.nr_of_intrinsics = 0;
                irg_walk_graph(irg, NULL, call_mapper, &wenv);