X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FPowerPC%2Fppc64le-smallarg.ll;h=77d066363cdeab4d5537cdfaa00f317abe330765;hb=8bc9aa92aad6e86b0113f0dae4a04a18499b81d2;hp=fcb1e9200ddce8cdbd372caff4f8bb76a06c8118;hpb=69e4786797780c25dbd7820b47998207d44a4d18;p=oota-llvm.git diff --git a/test/CodeGen/PowerPC/ppc64le-smallarg.ll b/test/CodeGen/PowerPC/ppc64le-smallarg.ll index fcb1e9200dd..77d066363cd 100644 --- a/test/CodeGen/PowerPC/ppc64le-smallarg.ll +++ b/test/CodeGen/PowerPC/ppc64le-smallarg.ll @@ -17,12 +17,12 @@ define void @callee1(%struct.small_arg* noalias nocapture sret %agg.result, %str entry: %0 = bitcast %struct.small_arg* %x to i32* %1 = bitcast %struct.small_arg* %agg.result to i32* - %2 = load i32* %0, align 2 + %2 = load i32, i32* %0, align 2 store i32 %2, i32* %1, align 2 ret void } ; CHECK: @callee1 -; CHECK: lwz {{[0-9]+}}, 120(1) +; CHECK: lwz {{[0-9]+}}, 104(1) ; CHECK: blr define void @caller1() { @@ -32,7 +32,7 @@ entry: ret void } ; CHECK: @caller1 -; CHECK: stw {{[0-9]+}}, 120(1) +; CHECK: stw {{[0-9]+}}, 104(1) ; CHECK: bl test1 declare void @test1(%struct.small_arg* sret, %struct.large_arg* byval, %struct.small_arg* byval) @@ -42,17 +42,17 @@ entry: ret float %x } ; CHECK: @callee2 -; CHECK: lfs {{[0-9]+}}, 152(1) +; CHECK: lfs {{[0-9]+}}, 136(1) ; CHECK: blr define void @caller2() { entry: - %0 = load float* @gf, align 4 + %0 = load float, float* @gf, align 4 %call = tail call float @test2(float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float %0) ret void } ; CHECK: @caller2 -; CHECK: stfs {{[0-9]+}}, 152(1) +; CHECK: stfs {{[0-9]+}}, 136(1) ; CHECK: bl test2 declare float @test2(float, float, float, float, float, float, float, float, float, float, float, float, float, float)