Author: tbrethou Date: Sat Feb 16 18:13:09 2008 New Revision: 47230 URL: http://llvm.org/viewvc/llvm-project?rev=47230&view=rev Log: Remove llvm-upgrade.
Modified: llvm/trunk/test/Bitcode/2006-12-11-Cast-ConstExpr.ll llvm/trunk/test/Bitcode/memcpy.ll Modified: llvm/trunk/test/Bitcode/2006-12-11-Cast-ConstExpr.ll URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/2006-12-11-Cast-ConstExpr.ll?rev=47230&r1=47229&r2=47230&view=diff ============================================================================== --- llvm/trunk/test/Bitcode/2006-12-11-Cast-ConstExpr.ll (original) +++ llvm/trunk/test/Bitcode/2006-12-11-Cast-ConstExpr.ll Sat Feb 16 18:13:09 2008 @@ -1,10 +1,10 @@ ; This test ensures that we get a bitcast constant expression in and out, ; not a sitofp constant expression. -; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \ +; RUN: llvm-as < %s | llvm-dis | \ ; RUN: grep {bitcast (} -%G = external global int [EMAIL PROTECTED] = external global i32 -float %tryit(int %A) { - ret float bitcast( int ptrtoint (int* %G to int) to float) +define float @tryit(i32 %A) { + ret float sitofp( i32 ptrtoint (i32* @G to i32) to float) } Modified: llvm/trunk/test/Bitcode/memcpy.ll URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/memcpy.ll?rev=47230&r1=47229&r2=47230&view=diff ============================================================================== --- llvm/trunk/test/Bitcode/memcpy.ll (original) +++ llvm/trunk/test/Bitcode/memcpy.ll Sat Feb 16 18:13:09 2008 @@ -1,17 +1,21 @@ -; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f +; RUN: llvm-as < %s -o /dev/null -f -void %test(int* %P, int* %Q) { +define void @test(i32* %P, i32* %Q) { entry: - %tmp.1 = cast int* %P to sbyte* ; <sbyte*> [#uses=2] - %tmp.3 = cast int* %Q to sbyte* ; <sbyte*> [#uses=3] - tail call void %llvm.memcpy.i32( sbyte* %tmp.1, sbyte* %tmp.3, uint 100000, uint 1 ) - tail call void %llvm.memcpy.i64( sbyte* %tmp.1, sbyte* %tmp.3, ulong 100000, uint 1 ) - tail call void %llvm.memset.i32( sbyte* %tmp.3, ubyte 14, uint 10000, uint 0 ) - tail call void %llvm.memmove.i32( sbyte* %tmp.1, sbyte* %tmp.3, uint 123124, uint 1 ) - ret void + %tmp.1 = bitcast i32* %P to i8* ; <i8*> [#uses=3] + %tmp.3 = bitcast i32* %Q to i8* ; <i8*> [#uses=4] + tail call void @llvm.memcpy.i32( i8* %tmp.1, i8* %tmp.3, i32 100000, i32 1 ) + tail call void @llvm.memcpy.i64( i8* %tmp.1, i8* %tmp.3, i64 100000, i32 1 ) + tail call void @llvm.memset.i32( i8* %tmp.3, i8 14, i32 10000, i32 0 ) + tail call void @llvm.memmove.i32( i8* %tmp.1, i8* %tmp.3, i32 123124, i32 1 ) + ret void } -declare void %llvm.memcpy.i32(sbyte*, sbyte*, uint, uint) -declare void %llvm.memcpy.i64(sbyte*, sbyte*, ulong, uint) -declare void %llvm.memset.i32(sbyte*, ubyte, uint, uint) -declare void %llvm.memmove.i32(sbyte*, sbyte*, uint, uint) +declare void @llvm.memcpy.i32(i8*, i8*, i32, i32) + +declare void @llvm.memcpy.i64(i8*, i8*, i64, i32) + +declare void @llvm.memset.i32(i8*, i8, i32, i32) + +declare void @llvm.memmove.i32(i8*, i8*, i32, i32) + _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits