aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-12 18:24:32 +0000
committerChris Lattner <sabre@nondot.org>2006-06-12 18:24:32 +0000
commit1398421ccf060f4894d5ff8fe913bc6a5493dc33 (patch)
treea4c6b699db7950487bdf724228bc6f739c93be98 /test/CodeGen/Generic
parentf2b806a1aa316f85bd9ac3562e0bc48674843077 (diff)
downloadexternal_llvm-1398421ccf060f4894d5ff8fe913bc6a5493dc33.zip
external_llvm-1398421ccf060f4894d5ff8fe913bc6a5493dc33.tar.gz
external_llvm-1398421ccf060f4894d5ff8fe913bc6a5493dc33.tar.bz2
New testcase that crashes llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic')
-rw-r--r--test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll b/test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll
new file mode 100644
index 0000000..c7cd33f
--- /dev/null
+++ b/test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | llc -fast
+
+float %test(uint %tmp12771278) {
+ switch uint %tmp12771278, label %bb1279 [
+ ]
+
+bb1279: ; preds = %cond_next1272
+ ret float 1.0
+}
+