Commit 8e095cdb authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Fix lower_mode_b aka x86code/fehler136

parent 917ab466
......@@ -45,6 +45,7 @@
#include "irpass_t.h"
#include "util.h"
#include "array.h"
#include "irgopt.h"
typedef struct needs_lowering_t {
ir_node *node;
......@@ -332,6 +333,8 @@ void ir_lower_mode_b(ir_graph *const irg, ir_mode *const nlowered_mode)
/* edges are used by part_block_edges in the ir_create_cond_set variant. */
edges_assure(irg);
/* part_block_edges can go wrong with tuples present */
remove_tuples(irg);
set_irg_state(irg, IR_GRAPH_STATE_MODEB_LOWERED);
ir_reserve_resources(irg, IR_RESOURCE_IRN_LINK);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment