1; RUN: llc < %s -mtriple=powerpc-apple-darwin | FileCheck -check-prefix=P32 %s 2; RUN: llc < %s -mtriple=powerpc64-apple-darwin | FileCheck -check-prefix=P64 %s 3 4; PR8327 5define i8* @test1(i8** %foo) nounwind { 6 %A = va_arg i8** %foo, i8* 7 ret i8* %A 8} 9 10; P32-LABEL: test1: 11; P32: lwz r2, 0(r3) 12; P32: addi r4, r2, 4 13; P32: stw r4, 0(r3) 14; P32: lwz r3, 0(r2) 15; P32: blr 16 17; P64-LABEL: test1: 18; P64: ld r2, 0(r3) 19; P64: addi r4, r2, 8 20; P64: std r4, 0(r3) 21; P64: ld r3, 0(r2) 22; P64: blr 23 24