From 9ec834036e5b975971377db6d042e7cb1fd2fa3b Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Wed, 18 Mar 2015 12:45:45 +0000 Subject: [PATCH] Change test to accept an additional critical edge split. The two hot blocks are right next to each other and I verified that there is no performance regression by compressing/uncompressing some files with a minigzip built with the different options. llvm-svn: 232629 --- llvm/test/CodeGen/X86/zlib-longest-match.ll | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/test/CodeGen/X86/zlib-longest-match.ll b/llvm/test/CodeGen/X86/zlib-longest-match.ll index bd0b68e..7be03f6 100644 --- a/llvm/test/CodeGen/X86/zlib-longest-match.ll +++ b/llvm/test/CodeGen/X86/zlib-longest-match.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=x86-64 < %s -block-placement-exit-block-bias=20 | FileCheck %s +; RUN: llc -march=x86-64 < %s -block-placement-exit-block-bias=20 -no-phi-elim-live-out-early-exit | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.9.0" @@ -25,7 +25,6 @@ target triple = "x86_64-apple-macosx10.9.0" ; the two hot blocks are laid out close to each other. ; CHECK-NEXT: %land.rhs131 ; CHECK: jne -; CHECK: jmp define i32 @longest_match(%struct.internal_state* nocapture %s, i32 %cur_match) nounwind { entry: %max_chain_length = getelementptr inbounds %struct.internal_state, %struct.internal_state* %s, i64 0, i32 31 -- 2.7.4