Re: [AArch64][1/4] Enable tree-stdarg pass for AArch64 by defining counter fields

2016-05-26 Thread James Greenhalgh
On Fri, May 06, 2016 at 04:00:13PM +0100, Jiong Wang wrote: > This patch initialize va_list_gpr_counter_field and > va_list_fpr_counter_field properly for AArch64 backend that tree-stdarg > pass will be enabled. > > The "required register" analysis is largely target independent, but the > user mig

[AArch64][1/4] Enable tree-stdarg pass for AArch64 by defining counter fields

2016-05-06 Thread Jiong Wang
This patch initialize va_list_gpr_counter_field and va_list_fpr_counter_field properly for AArch64 backend that tree-stdarg pass will be enabled. The "required register" analysis is largely target independent, but the user might operate on the inner offset field in vaarg structure directly, for e