aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-28 19:46:56 +0000
committerChris Lattner <sabre@nondot.org>2006-02-28 19:46:56 +0000
commitf949c1ad6cbd8375ceae91c89d59522b013aed3b (patch)
treecf8199d0c781848b1887a2b0e1c2a901b32fcf18 /test
parent8f434ffa24a34cffd05c51897ba743d9d184b6dd (diff)
downloadexternal_llvm-f949c1ad6cbd8375ceae91c89d59522b013aed3b.zip
external_llvm-f949c1ad6cbd8375ceae91c89d59522b013aed3b.tar.gz
external_llvm-f949c1ad6cbd8375ceae91c89d59522b013aed3b.tar.bz2
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/InstCombine/2006-02-28-Crash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2006-02-28-Crash.ll b/test/Transforms/InstCombine/2006-02-28-Crash.ll
new file mode 100644
index 0000000..17fc8b6
--- /dev/null
+++ b/test/Transforms/InstCombine/2006-02-28-Crash.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | opt -instcombine -disable-output
+int %test() {
+ %tmp203 = seteq uint 1, 2 ; <bool> [#uses=1]
+ %tmp203 = cast bool %tmp203 to int ; <int> [#uses=1]
+ ret int %tmp203
+}