diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-17 03:14:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-17 03:14:27 +0000 |
commit | 26b0000166ca3d00f2a1990b43a1f45cdac4e9b6 (patch) | |
tree | f6a7581ff89c965fe0b0d3fabc5b780a695c1ce5 /test/Transforms/InstCombine/malloc2.ll | |
parent | cd4e0b593db6dfdb5cedbde47ea6603058b8ac6c (diff) |
manually upgrade a bunch of tests to modern syntax, and remove some that
are either unreduced or only test old syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/malloc2.ll')
-rw-r--r-- | test/Transforms/InstCombine/malloc2.ll | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/Transforms/InstCombine/malloc2.ll b/test/Transforms/InstCombine/malloc2.ll deleted file mode 100644 index 8462dacf85..0000000000 --- a/test/Transforms/InstCombine/malloc2.ll +++ /dev/null @@ -1,22 +0,0 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s -; PR1313 - -define i32 @test1(i32 %argc, i8* %argv, i8* %envp) { - %tmp15.i.i.i23 = malloc [2564 x i32] ; <[2564 x i32]*> [#uses=1] -; CHECK-NOT: call i8* @malloc - %c = icmp eq [2564 x i32]* %tmp15.i.i.i23, null ; <i1>:0 [#uses=1] - %retval = zext i1 %c to i32 ; <i32> [#uses=1] - ret i32 %retval -; CHECK: ret i32 0 -} - -define i32 @test2(i32 %argc, i8* %argv, i8* %envp) { - %tmp15.i.i.i23 = malloc [2564 x i32] ; <[2564 x i32]*> [#uses=1] -; CHECK-NOT: call i8* @malloc - %X = bitcast [2564 x i32]* %tmp15.i.i.i23 to i32* - %c = icmp ne i32* %X, null - %retval = zext i1 %c to i32 ; <i32> [#uses=1] - ret i32 %retval -; CHECK: ret i32 1 -} - |