Remove unnecessary dependency edge from the IncSP, which destroys the stack frame...
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 9 Oct 2008 07:01:04 +0000 (07:01 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 9 Oct 2008 07:01:04 +0000 (07:01 +0000)
[r22623]

ir/be/arm/bearch_arm.c

index 1e7eb1a..6cec1ee 100644 (file)
@@ -979,7 +979,6 @@ static void arm_abi_epilogue(void *self, ir_node *bl, ir_node **mem, pmap *reg_m
        // TODO: Activate Omit fp in epilogue
        if (env->flags.try_omit_fp) {
                curr_sp = be_new_IncSP(env->arch_env->sp, env->irg, bl, curr_sp, BE_STACK_FRAME_SIZE_SHRINK, 0);
-               add_irn_dep(curr_sp, *mem);
 
                curr_lr = be_new_CopyKeep_single(&arm_reg_classes[CLASS_arm_gp], env->irg, bl, curr_lr, curr_sp, get_irn_mode(curr_lr));
                be_node_set_reg_class(curr_lr, 1, &arm_reg_classes[CLASS_arm_gp]);