summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-02 05:43:51 +0000
committerChris Lattner <sabre@nondot.org>2004-07-02 05:43:51 +0000
commit1d6b5f38fe2114ac463e1f3ead1cb32adf62a82e (patch)
tree13b7e0796286849990338e8832063c2b7dd692ee
parente1a136fb4bb53d909a277d7a164a2ac32e24888e (diff)
downloadbcm5719-llvm-1d6b5f38fe2114ac463e1f3ead1cb32adf62a82e.tar.gz
bcm5719-llvm-1d6b5f38fe2114ac463e1f3ead1cb32adf62a82e.zip
Make this testcase more interesting
llvm-svn: 14561
-rw-r--r--llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx11
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx b/llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx
index a0f8362667c..9efbf09b426 100644
--- a/llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx
+++ b/llvm/test/Regression/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
}
OpenPOWER on IntegriCloud