diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-03-01 09:15:35 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-03-01 09:15:35 +0000 |
commit | ec9a35a6f9143cfa325e0413cc297c48f627973a (patch) | |
tree | c1b0621415acc20f94152c51174d53fae3dbc8cc /test/Transforms/InstCombine/2006-02-28-Crash.ll | |
parent | ab3b77834c9232e4c13acb29afe1920b97c5a20b (diff) | |
download | llvm-ec9a35a6f9143cfa325e0413cc297c48f627973a.tar.gz llvm-ec9a35a6f9143cfa325e0413cc297c48f627973a.tar.bz2 llvm-ec9a35a6f9143cfa325e0413cc297c48f627973a.tar.xz |
Remove llvm-upgrade and update test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/2006-02-28-Crash.ll')
-rw-r--r-- | test/Transforms/InstCombine/2006-02-28-Crash.ll | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/Transforms/InstCombine/2006-02-28-Crash.ll b/test/Transforms/InstCombine/2006-02-28-Crash.ll index 241c254dc4..1f3c9e8e67 100644 --- a/test/Transforms/InstCombine/2006-02-28-Crash.ll +++ b/test/Transforms/InstCombine/2006-02-28-Crash.ll @@ -1,6 +1,8 @@ -; RUN: llvm-upgrade < %s | llvm-as | 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 +; RUN: llvm-as < %s | opt -instcombine -disable-output + +define i32 @test() { + %tmp203 = icmp eq i32 1, 2 ; <i1> [#uses=1] + %tmp203.upgrd.1 = zext i1 %tmp203 to i32 ; <i32> [#uses=1] + ret i32 %tmp203.upgrd.1 } + |