summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bera.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-07-16 17:13:13 +0200
committerMatthias Braun <matze@braunis.de>2014-07-18 10:04:11 +0200
commit3cd5b2153fa672ade8c30a82a2cd0d96655d003a (patch)
tree9e82a2a80fa3da6269827d93f37ba1fb224d89ed /ir/be/bera.c
parent2ef7259cb0cb2e12a25a16892cdfaa17a63de3e8 (diff)
extract be_value_live_after() from be_values_interfere()
Value live_after() is a special case of the checks performed in values_interfere(). This commit extracts this code and use the new function where possible.
Diffstat (limited to 'ir/be/bera.c')
-rw-r--r--ir/be/bera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bera.c b/ir/be/bera.c
index 8febb0c..159e16f 100644
--- a/ir/be/bera.c
+++ b/ir/be/bera.c
@@ -161,7 +161,7 @@ static void prepare_constr_insn(ir_node *const node)
* results. Additional copies here would destroy this. */
if (be_is_Copy(in))
continue;
- if (!be_values_interfere(node, in))
+ if (!be_value_live_after(in, node))
continue;
bool common_limits = false;