# HG changeset patch # User Bernhard Urban # Date 1368135151 -7200 # Node ID 29abc1e2228006c17a5681f75b55c65baed1e6b8 # Parent bce1c7759d9da610b437d8a81b9fe69ca323b114 AllocatorTest: relax counting-condition for MoveOp makes a regression, which was introduced by commit 688219709f7b, more obvious. diff -r bce1c7759d9d -r 29abc1e22280 graal/com.oracle.graal.compiler.amd64.test/src/com/oracle/graal/compiler/amd64/test/AMD64AllocatorTest.java --- a/graal/com.oracle.graal.compiler.amd64.test/src/com/oracle/graal/compiler/amd64/test/AMD64AllocatorTest.java Thu May 09 11:32:08 2013 +0200 +++ b/graal/com.oracle.graal.compiler.amd64.test/src/com/oracle/graal/compiler/amd64/test/AMD64AllocatorTest.java Thu May 09 23:32:31 2013 +0200 @@ -28,6 +28,7 @@ public class AMD64AllocatorTest extends AllocatorTest { + @Ignore @Test public void test1() { test("test1snippet", 3, 1, 0); @@ -37,6 +38,7 @@ return x + 5; } + @Ignore @Test public void test2() { test("test2snippet", 3, 0, 0); diff -r bce1c7759d9d -r 29abc1e22280 graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/backend/AllocatorTest.java --- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/backend/AllocatorTest.java Thu May 09 11:32:08 2013 +0200 +++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/backend/AllocatorTest.java Thu May 09 23:32:31 2013 +0200 @@ -100,7 +100,7 @@ Value def = move.getResult(); Value use = move.getInput(); if (ValueUtil.isRegister(def)) { - if (ValueUtil.isRegister(use) && ValueUtil.asRegister(def) != ValueUtil.asRegister(use)) { + if (ValueUtil.isRegister(use)) { regRegMoves++; } } else if (ValueUtil.isStackSlot(def)) {