Re: [PTX] var emission

2015-12-04 Thread Nathan Sidwell
On 12/04/15 13:44, Nathan Sidwell wrote: I've committed this patch to unify the variable emission machinery. All four hooks were doing small variations of a common theme. This introduces nvptx_assemble_decl_begin to do the common work. While there, I expanded the init initialization code to wo

[PTX] var emission

2015-12-04 Thread Nathan Sidwell
I've committed this patch to unify the variable emission machinery. All four hooks were doing small variations of a common theme. This introduces nvptx_assemble_decl_begin to do the common work. While there, I expanded the init initialization code to work with multi-dimensional arrays. nath