1 ; RUN: llc -verify-machineinstrs -mtriple="powerpc-unknown-linux-gnu" -mcpu=ppc64 < %s | FileCheck %s
4 %va_list = type {i8, i8, i16, ptr, ptr}
5 declare void @llvm.va_copy(ptr, ptr)
7 define void @test_vacopy() nounwind {
12 call void @llvm.va_copy(ptr %1, ptr %0)
17 ; CHECK-DAG: lwz [[REG1:[0-9]+]], {{.*}}
18 ; CHECK-DAG: lwz [[REG2:[0-9]+]], {{.*}}
19 ; CHECK-DAG: lwz [[REG3:[0-9]+]], {{.*}}
20 ; CHECK-DAG: stw [[REG1]], {{.*}}
21 ; CHECK-DAG: stw [[REG2]], {{.*}}
22 ; CHECK-DAG: stw [[REG3]], {{.*}}