X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FTransforms%2FInstCombine%2Fsimplify-libcalls.ll;h=fae3e6e3d9beab4a172c681581bc5eebc21a068a;hp=ad29a445de641b2e5ba36e7a2845ddf9717601af;hb=39f4e8d9cce22b60a3417a5f17c847fa5b1daebf;hpb=82e539d037a33f968e4a5476d3d471e1112f8ab2 diff --git a/test/Transforms/InstCombine/simplify-libcalls.ll b/test/Transforms/InstCombine/simplify-libcalls.ll index ad29a445de6..fae3e6e3d9b 100644 --- a/test/Transforms/InstCombine/simplify-libcalls.ll +++ b/test/Transforms/InstCombine/simplify-libcalls.ll @@ -18,7 +18,7 @@ define i8* @test1() { %tmp3 = tail call i8* @strchr( i8* getelementptr ([5 x i8]* @str, i32 0, i32 2), i32 103 ) ; [#uses=1] ret i8* %tmp3 -; CHECK: @test1 +; CHECK-LABEL: @test1( ; CHECK: ret i8* getelementptr inbounds ([5 x i8]* @str, i32 0, i64 3) } @@ -28,7 +28,7 @@ define i8* @test2() { %tmp3 = tail call i8* @strchr( i8* getelementptr ([8 x i8]* @str1, i32 0, i32 2), i32 0 ) ; [#uses=1] ret i8* %tmp3 -; CHECK: @test2 +; CHECK-LABEL: @test2( ; CHECK: ret i8* getelementptr inbounds ([8 x i8]* @str1, i32 0, i64 7) } @@ -37,7 +37,7 @@ entry: %tmp3 = tail call i8* @strchr( i8* getelementptr ([5 x i8]* @str2, i32 0, i32 1), i32 80 ) ; [#uses=1] ret i8* %tmp3 -; CHECK: @test3 +; CHECK-LABEL: @test3( ; CHECK: ret i8* null } @@ -52,7 +52,7 @@ entry: %tmp6 = icmp eq i32 %tmp5, 0 ; [#uses=1] ret i1 %tmp6 -; CHECK: @PR2341 +; CHECK-LABEL: @PR2341( ; CHECK: i32 } @@ -65,7 +65,7 @@ entry: %call = call i32 @memcmp(i8* %c0, i8* %c2, i32 1) ; [#uses=1] ret i32 %call -; CHECK: @PR4284 +; CHECK-LABEL: @PR4284( ; CHECK: ret i32 -65 } @@ -124,7 +124,7 @@ define i32 @MemCpy() { call void @llvm.memcpy.p0i8.p0i8.i32(i8* %target_p, i8* %hello_u_p, i32 8, i32 8, i1 false) ret i32 0 -; CHECK: @MemCpy +; CHECK-LABEL: @MemCpy( ; CHECK-NOT: llvm.memcpy ; CHECK: ret i32 0 } @@ -134,7 +134,7 @@ declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32, declare i32 @strcmp(i8*, i8*) #0 define void @test9(i8* %x) { -; CHECK: @test9 +; CHECK-LABEL: @test9( ; CHECK-NOT: strcmp %y = call i32 @strcmp(i8* %x, i8* %x) #1 ret void