* @file
* @brief modifies schedule so flags dependencies are respected.
* @author Matthias Braun, Christoph Mallon
- * @version $Id: besched.h 14693 2007-06-21 15:35:49Z beck $
*
* Fixup schedule to respect flag constraints by moving and rematerialisation of
* nodes.
#include "besched.h"
#include "benode.h"
#include "belive.h"
+#include "beabihelper.h"
static const arch_register_class_t *flag_class;
static const arch_register_t *flags_reg;
if (get_irn_mode(copy) == mode_T) {
ir_mode *mode = flag_class->mode;
value = new_rd_Proj(NULL, copy, mode, pn);
+ be_add_missing_keeps_node(copy);
} else {
value = copy;
}