diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-23 03:03:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-23 03:03:42 +0000 |
commit | ed98501ab7507ffe7e7add966f3a9557f666778b (patch) | |
tree | b23d1a81d9e7c59a736f616be13e98cbbe809fa9 /test | |
parent | 02dc1a7f1f1533627cae4aaaccb7047b827b8a39 (diff) | |
download | external_llvm-ed98501ab7507ffe7e7add966f3a9557f666778b.zip external_llvm-ed98501ab7507ffe7e7add966f3a9557f666778b.tar.gz external_llvm-ed98501ab7507ffe7e7add966f3a9557f666778b.tar.bz2 |
distill down the essense of this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll b/test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll index a7e2f39..0201213 100644 --- a/test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll +++ b/test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll @@ -7,14 +7,8 @@ target triple = "i386-apple-darwin9" define void @foo(i8* %context) nounwind { entry: - %context_addr = alloca i8* ; <i8**> [#uses=2] - %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0] - store i8* %context, i8** %context_addr - %tmp = load i8** %context_addr, align 4 ; <i8*> [#uses=1] - %tmp1 = bitcast i8* %tmp to %struct.NSRect* ; <%struct.NSRect*> [#uses=1] + %tmp1 = bitcast i8* %context to %struct.NSRect* ; <%struct.NSRect*> [#uses=1] call void (i32, ...)* @bar( i32 3, %struct.NSRect* byval align 4 %tmp1 ) nounwind - br label %return -return: ; preds = %entry ret void } |