X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2Ftailcallbyval64.ll;h=9df1470c67f13fceadbd9ad8242c111c19b94fa3;hb=43d1e87d73b2f5dcb749f17c08e2e023fbd7006f;hp=762160202c2df099d56892b3ac5cd56869cec620;hpb=922d314e8f9f0d8e447c055485a2969ee9cf2dd2;p=oota-llvm.git diff --git a/test/CodeGen/X86/tailcallbyval64.ll b/test/CodeGen/X86/tailcallbyval64.ll index 762160202c2..9df1470c67f 100644 --- a/test/CodeGen/X86/tailcallbyval64.ll +++ b/test/CodeGen/X86/tailcallbyval64.ll @@ -3,7 +3,7 @@ ; FIXME: Win64 does not support byval. ; Expect the entry point. -; CHECK: tailcaller: +; CHECK-LABEL: tailcaller: ; Expect 2 rep;movs because of tail call byval lowering. ; CHECK: rep; @@ -35,8 +35,8 @@ declare fastcc i64 @tailcallee(%struct.s* byval %a, i64 %val, i64 %val2, i64 %v define fastcc i64 @tailcaller(i64 %b, %struct.s* byval %a) { entry: - %tmp2 = getelementptr %struct.s* %a, i32 0, i32 1 - %tmp3 = load i64* %tmp2, align 8 + %tmp2 = getelementptr %struct.s, %struct.s* %a, i32 0, i32 1 + %tmp3 = load i64, i64* %tmp2, align 8 %tmp4 = tail call fastcc i64 @tailcallee(%struct.s* byval %a , i64 %tmp3, i64 %b, i64 7, i64 13, i64 17) ret i64 %tmp4 }