aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-24 00:21:50 +0000
committerChris Lattner <sabre@nondot.org>2003-08-24 00:21:50 +0000
commitf3f062eb71d8725ef4e91f630c9c6481b2b0d569 (patch)
treede63de849c0e52e810ad9d33cf33d2ead5d61800 /test/CodeGen
parent41822c790f7f0502e604fa2fa26e8edb022fda8c (diff)
downloadexternal_llvm-f3f062eb71d8725ef4e91f630c9c6481b2b0d569.zip
external_llvm-f3f062eb71d8725ef4e91f630c9c6481b2b0d569.tar.gz
external_llvm-f3f062eb71d8725ef4e91f630c9c6481b2b0d569.tar.bz2
New testcase, distilled from 176.gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/2003-08-23-DeadBlockTest.llx12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
new file mode 100644
index 0000000..a8b2944
--- /dev/null
+++ b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
@@ -0,0 +1,12 @@
+; RUN: as < %s | llc -march=x86
+
+implementation
+
+void %test() {
+entry: ret void
+Test: ; dead block!
+ call void %test()
+ call void %test()
+ ret void
+}
+