Commit Graph

2 Commits

Author SHA1 Message Date
Kai Luo e2b93185b8 [PowerPC] Only make copies of registers on stack in variadic function when va_start is called
On PPC64, for a variadic function, if va_start is not called, it won't
access any variadic argument on stack, thus we can save stores of
registers used to pass arguments.

Differential Revision: https://reviews.llvm.org/D82361
2020-07-09 07:18:17 +00:00
Kai Luo f09ef03e1c [PowerPC][NFC] Add tests for variadic functions on PPC64 2020-06-23 09:20:04 +00:00