From c95f3b88226c806c557820d14c6f7ee724706fcd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 2 Jul 2004 05:43:51 +0000 Subject: [PATCH] Make this testcase more interesting git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14561 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2003-08-23-DeadBlockTest.llx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx index a0f8362667c..9efbf09b426 100644 --- a/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx +++ b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx @@ -2,11 +2,12 @@ implementation -void %test() { -entry: ret void +int %test() { +entry: ret int 7 Test: ; dead block! - call void %test() - call void %test() - ret void + %A = call int %test() + %B = call int %test() + %C = add int %A, %B + ret int %C }