Re: [PTX] simplify calling struct

2015-12-17 Thread Bernhard Reutner-Fischer
On December 16, 2015 2:53:51 PM GMT+01:00, Nathan Sidwell wrote: >PTX's machine_function structure squirrels away the function type to >calculate >the presence of varadic args later, rather than calculate it >immediately. It >also uses an rtx field as a boolean. This patch reorganizes it wi

[PTX] simplify calling struct

2015-12-16 Thread Nathan Sidwell
PTX's machine_function structure squirrels away the function type to calculate the presence of varadic args later, rather than calculate it immediately. It also uses an rtx field as a boolean. This patch reorganizes it with less verbose names and more apt types. I also noticed that nvptx_h