From 11a4f64bd4cb6d438dd4b5882ee1b7404832f27f Mon Sep 17 00:00:00 2001 From: Christopher Lamb Date: Mon, 10 Dec 2007 07:24:06 +0000 Subject: Improve branch folding by recgonizing that explict successor relationships impact the value of fall-through choices. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44785 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2007-06-14-branchfold.ll | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/CodeGen/X86/2007-06-14-branchfold.ll') diff --git a/test/CodeGen/X86/2007-06-14-branchfold.ll b/test/CodeGen/X86/2007-06-14-branchfold.ll index b78c63d..697d6a3 100644 --- a/test/CodeGen/X86/2007-06-14-branchfold.ll +++ b/test/CodeGen/X86/2007-06-14-branchfold.ll @@ -1,7 +1,5 @@ -; RUN: llvm-as < %s | llc -mcpu=i686 | grep jmp | count 1 +; RUN: llvm-as < %s | llc -mcpu=i686 | not grep jmp ; check that branch folding understands FP_REG_KILL is not a branch -; the remaining jmp can be removed if we take advantage of knowing -; abort does not return ; ModuleID = 'g.bc' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64" -- cgit v1.1