From f949c1ad6cbd8375ceae91c89d59522b013aed3b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 28 Feb 2006 19:46:56 +0000 Subject: new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26426 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/2006-02-28-Crash.ll | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/Transforms/InstCombine/2006-02-28-Crash.ll (limited to 'test') 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 ; [#uses=1] + %tmp203 = cast bool %tmp203 to int ; [#uses=1] + ret int %tmp203 +} -- cgit v1.1