Decouple this setting from EnableIRPA.
To support function calls on AMDGPU, it is necessary to
report the global register usage throughout the kernel's
call graph, so callees need to be handled first.
Differential D31512
Allow targets to opt-in to codegen in SCC order arsenm on Mar 30 2017, 2:49 PM. Authored by
Details
Decouple this setting from EnableIRPA. To support function calls on AMDGPU, it is necessary to
Diff Detail Event TimelineComment Actions I'd lean towards putting the option into TargetPassConfig instead of TargetMachine, what do you think? Comment Actions I wasn't sure on this. Is there any reason passes would need to check this? If not, then TargetPassConfig is probably the right place. Comment Actions I can't think of a reason why passes would want to know this (and they certainly shouldn't rely on a specific order). |