From e3ff5ada8a8f6cc166ecc45147da0d63c3683026 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 26 Jan 2007 08:25:06 +0000 Subject: For PR761: Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For PR645: Make global names use the @ prefix. For llvm-upgrade changes: Fix test cases or completely remove use of llvm-upgrade for test cases that cannot survive the new renaming or upgrade capabilities. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll') diff --git a/test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll b/test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll index c88a8673cf..0dbf79562d 100644 --- a/test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll +++ b/test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll @@ -1,10 +1,10 @@ ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 -%quant_coef = external global [6 x [4 x [4 x i32]]] ; <[6 x [4 x [4 x i32]]]*> [#uses=1] -%dequant_coef = external global [6 x [4 x [4 x i32]]] ; <[6 x [4 x [4 x i32]]]*> [#uses=1] -%A = external global [4 x [4 x i32]] ; <[4 x [4 x i32]]*> [#uses=1] +@quant_coef = external global [6 x [4 x [4 x i32]]] ; <[6 x [4 x [4 x i32]]]*> [#uses=1] +@dequant_coef = external global [6 x [4 x [4 x i32]]] ; <[6 x [4 x [4 x i32]]]*> [#uses=1] +@A = external global [4 x [4 x i32]] ; <[4 x [4 x i32]]*> [#uses=1] -define fastcc i32 %dct_luma_sp(i32 %block_x, i32 %block_y, i32* %coeff_cost) { +define fastcc i32 @dct_luma_sp(i32 %block_x, i32 %block_y, i32* %coeff_cost) { entry: %predicted_block = alloca [4 x [4 x i32]], align 4 ; <[4 x [4 x i32]]*> [#uses=1] br label %cond_next489 @@ -17,7 +17,7 @@ cond_next489: ; preds = %cond_false, %bb471 %tmp495 = getelementptr [4 x [4 x i32]]* %predicted_block, i32 0, i32 %i.8, i32 %j.7 ; [#uses=2] %tmp496 = load i32* %tmp495 ; [#uses=2] %tmp502 = load i32* null ; [#uses=1] - %tmp542 = getelementptr [6 x [4 x [4 x i32]]]* %quant_coef, i32 0, i32 0, i32 %i.8, i32 %j.7 ; [#uses=1] + %tmp542 = getelementptr [6 x [4 x [4 x i32]]]* @quant_coef, i32 0, i32 0, i32 %i.8, i32 %j.7 ; [#uses=1] %tmp543 = load i32* %tmp542 ; [#uses=1] %tmp548 = ashr i32 0, i8 0 ; [#uses=3] %tmp561 = sub i32 0, %tmp496 ; [#uses=3] @@ -30,14 +30,14 @@ cond_next489: ; preds = %cond_false, %bb471 br i1 %tmp579, label %bb712, label %cond_next589 cond_next589: ; preds = %cond_next489 - %tmp605 = getelementptr [6 x [4 x [4 x i32]]]* %dequant_coef, i32 0, i32 0, i32 %i.8, i32 %j.7 ; [#uses=1] + %tmp605 = getelementptr [6 x [4 x [4 x i32]]]* @dequant_coef, i32 0, i32 0, i32 %i.8, i32 %j.7 ; [#uses=1] %tmp606 = load i32* %tmp605 ; [#uses=1] %tmp612 = load i32* null ; [#uses=1] %tmp629 = load i32* null ; [#uses=1] %tmp629 = sitofp i32 %tmp629 to double ; [#uses=1] %tmp631 = mul double %tmp629, 0.000000e+00 ; [#uses=1] %tmp632 = add double 0.000000e+00, %tmp631 ; [#uses=1] - %tmp642 = call fastcc i32 %sign( i32 %tmp576, i32 %tmp561 ) ; [#uses=1] + %tmp642 = call fastcc i32 @sign( i32 %tmp576, i32 %tmp561 ) ; [#uses=1] %tmp650 = mul i32 %tmp606, %tmp642 ; [#uses=1] %tmp656 = mul i32 %tmp650, %tmp612 ; [#uses=1] %tmp658 = shl i32 %tmp656, i8 0 ; [#uses=1] @@ -45,7 +45,7 @@ cond_next589: ; preds = %cond_next489 %tmp660 = sub i32 0, %tmp659 ; [#uses=1] %tmp666 = sub i32 %tmp660, %tmp496 ; [#uses=1] %tmp666 = sitofp i32 %tmp666 to double ; [#uses=2] - call void %levrun_linfo_inter( i32 %tmp576, i32 0, i32* null, i32* null ) + call void @levrun_linfo_inter( i32 %tmp576, i32 0, i32* null, i32* null ) %tmp671 = mul double %tmp666, %tmp666 ; [#uses=1] %tmp675 = add double %tmp671, 0.000000e+00 ; [#uses=1] %tmp678 = fcmp oeq double %tmp632, %tmp675 ; [#uses=1] @@ -79,9 +79,9 @@ bb737: ; preds = %cond_false689 br i1 %tmp739, label %cond_next791, label %cond_true740 cond_true740: ; preds = %bb737 - %tmp761 = call fastcc i32 %sign( i32 %tmp576, i32 0 ) ; [#uses=1] + %tmp761 = call fastcc i32 @sign( i32 %tmp576, i32 0 ) ; [#uses=1] %tmp780 = load i32* null ; [#uses=1] - %tmp785 = getelementptr [4 x [4 x i32]]* %A, i32 0, i32 %i.8, i32 %j.7 ; [#uses=1] + %tmp785 = getelementptr [4 x [4 x i32]]* @A, i32 0, i32 %i.8, i32 %j.7 ; [#uses=1] %tmp786 = load i32* %tmp785 ; [#uses=1] %tmp781 = mul i32 %tmp780, %tmp761 ; [#uses=1] %tmp787 = mul i32 %tmp781, %tmp786 ; [#uses=1] @@ -94,10 +94,10 @@ cond_next791: ; preds = %cond_true740, %bb737 %tmp796 = load i32* %tmp495 ; [#uses=1] %tmp798 = add i32 %tmp796, %ilev.1 ; [#uses=1] %tmp812 = mul i32 0, %tmp502 ; [#uses=0] - %tmp818 = call fastcc i32 %sign( i32 0, i32 %tmp798 ) ; [#uses=0] + %tmp818 = call fastcc i32 @sign( i32 0, i32 %tmp798 ) ; [#uses=0] unreachable } -declare i32 %sign(i32, i32) +declare i32 @sign(i32, i32) -declare void %levrun_linfo_inter(i32, i32, i32*, i32*) +declare void @levrun_linfo_inter(i32, i32, i32*, i32*) -- cgit v1.2.3