From 3afca781086699e60a8941fb9474d4607c5909cb Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 10 Mar 2015 18:59:31 +0000 Subject: Fix tests now that the SSA builder is pruning more phis. Change-Id: I503400e7343322e31ad393d51367b404d6ed7bd8 --- compiler/optimizing/liveness_test.cc | 56 ++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'compiler/optimizing/liveness_test.cc') 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, -- cgit v1.2.3-59-g8ed1b