Pull in r221170 from upstream clang trunk (by Roman Divacky):
Implement vaarg lowering for ppc32. Lowering of scalars and aggregates is supported. Complex numbers are not.
Differential D1308
Backport clang r221170 to implement va_arg support for PowerPC dim on Dec 13 2014, 10:31 PM. Authored by Tags None Referenced Files
Subscribers None
Details Pull in r221170 from upstream clang trunk (by Roman Divacky): Implement vaarg lowering for ppc32. Lowering of scalars and aggregates is supported. Complex numbers are not. Since I have no way of knowing whether this works correctly or not, I would like both a sanity check, and a check that this results in working va_args support on real PowerPC hardware. I did build it, both with clang and gcc (I had to remove one C++11-ism), and it should compile OK.
Diff Detail
Event TimelineComment Actions Just tested, it passes the llvm upstream ppc-varargs-struct.c test. Thanks for merging it! |