diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-02-14 07:57:12 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-02-14 07:57:12 +0000 |
commit | 74bb9f5ad413f38958e64052a8d409fb5f20ec33 (patch) | |
tree | f929dabf6d10ad6d73d324f711989b2ad40ddcbb /test/Assembler/2004-02-27-SelfUseAssertError.ll | |
parent | 6a38ec3796ec8f79cfec55defdc5913ce15ff70a (diff) | |
download | external_llvm-74bb9f5ad413f38958e64052a8d409fb5f20ec33.zip external_llvm-74bb9f5ad413f38958e64052a8d409fb5f20ec33.tar.gz external_llvm-74bb9f5ad413f38958e64052a8d409fb5f20ec33.tar.bz2 |
Remove llvm-upgrade
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2004-02-27-SelfUseAssertError.ll')
-rw-r--r-- | test/Assembler/2004-02-27-SelfUseAssertError.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/Assembler/2004-02-27-SelfUseAssertError.ll b/test/Assembler/2004-02-27-SelfUseAssertError.ll index fb0cfb1..73a9f54 100644 --- a/test/Assembler/2004-02-27-SelfUseAssertError.ll +++ b/test/Assembler/2004-02-27-SelfUseAssertError.ll @@ -1,23 +1,23 @@ -; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f +; RUN: llvm-as < %s -o /dev/null -f ; %inc2 uses it's own value, but that's ok, as it's unreachable! -void %test() { +define void @test() { entry: ret void no_exit.2: ; preds = %endif.6 - %tmp.103 = setlt double 0x0, 0x0 ; <bool> [#uses=1] - br bool %tmp.103, label %endif.6, label %else.0 + %tmp.103 = fcmp olt double 0.000000e+00, 0.000000e+00 ; <i1> [#uses=1] + br i1 %tmp.103, label %endif.6, label %else.0 else.0: ; preds = %no_exit.2 - store ushort 0, ushort* null + store i16 0, i16* null br label %endif.6 -endif.6: ; preds = %no_exit.2, %else.0 - %inc.2 = add int %inc.2, 1 ; <int> [#uses=2] - %tmp.96 = setlt int %inc.2, 0 ; <bool> [#uses=1] - br bool %tmp.96, label %no_exit.2, label %UnifiedReturnBlock1 +endif.6: ; preds = %else.0, %no_exit.2 + %inc.2 = add i32 %inc.2, 1 ; <i32> [#uses=2] + %tmp.96 = icmp slt i32 %inc.2, 0 ; <i1> [#uses=1] + br i1 %tmp.96, label %no_exit.2, label %UnifiedReturnBlock1 UnifiedReturnBlock1: ; preds = %endif.6 ret void |