diff options
author | 2015-03-10 18:59:31 +0000 | |
---|---|---|
committer | 2015-03-10 18:59:31 +0000 | |
commit | 3afca781086699e60a8941fb9474d4607c5909cb (patch) | |
tree | ea9e1c3b0dbb2180b6c4971d93849aeb265c23b1 /compiler/optimizing/liveness_test.cc | |
parent | 21c7906e08b801f1afcb62bdd1f1763c93e5ea06 (diff) |
Fix tests now that the SSA builder is pruning more phis.
Change-Id: I503400e7343322e31ad393d51367b404d6ed7bd8
Diffstat (limited to 'compiler/optimizing/liveness_test.cc')
-rw-r--r-- | compiler/optimizing/liveness_test.cc | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/compiler/optimizing/liveness_test.cc b/compiler/optimizing/liveness_test.cc index 907eff162f..0b0cfde0cf 100644 --- a/compiler/optimizing/liveness_test.cc +++ b/compiler/optimizing/liveness_test.cc @@ -388,44 +388,44 @@ TEST(LivenessTest, Loop5) { // Make sure we create a preheader of a loop when a header originally has two // incoming blocks and one back edge. // Bitsets are made of: - // (constant0, constant4, constant5, phi in block 8, phi in block 4) + // (constant0, constant4, constant5, phi in block 8) const char* expected = "Block 0\n" - " live in: (00000)\n" - " live out: (11100)\n" - " kill: (11100)\n" + " live in: (0000)\n" + " live out: (1110)\n" + " kill: (1110)\n" "Block 1\n" - " live in: (11100)\n" - " live out: (01100)\n" - " kill: (00000)\n" + " live in: (1110)\n" + " live out: (0110)\n" + " kill: (0000)\n" "Block 2\n" - " live in: (01000)\n" - " live out: (00000)\n" - " kill: (00000)\n" + " live in: (0100)\n" + " live out: (0000)\n" + " kill: (0000)\n" "Block 3\n" - " live in: (00100)\n" - " live out: (00000)\n" - " kill: (00000)\n" + " live in: (0010)\n" + " live out: (0000)\n" + " kill: (0000)\n" "Block 4\n" // loop header - " live in: (00000)\n" - " live out: (00001)\n" - " kill: (00001)\n" + " live in: (0001)\n" + " live out: (0001)\n" + " kill: (0000)\n" "Block 5\n" // back edge - " live in: (00001)\n" - " live out: (00000)\n" - " kill: (00000)\n" + " live in: (0001)\n" + " live out: (0001)\n" + " kill: (0000)\n" "Block 6\n" // return block - " live in: (00001)\n" - " live out: (00000)\n" - " kill: (00000)\n" + " live in: (0001)\n" + " live out: (0000)\n" + " kill: (0000)\n" "Block 7\n" // exit block - " live in: (00000)\n" - " live out: (00000)\n" - " kill: (00000)\n" + " live in: (0000)\n" + " live out: (0000)\n" + " kill: (0000)\n" "Block 8\n" // synthesized pre header - " live in: (00000)\n" - " live out: (00000)\n" - " kill: (00010)\n"; + " live in: (0000)\n" + " live out: (0001)\n" + " kill: (0001)\n"; const uint16_t data[] = ONE_REGISTER_CODE_ITEM( Instruction::CONST_4 | 0 | 0, |