> > See the thread about the instrumentation pass which currently > > is implemented on GIMPLE. > > What are the issues for instrumenting as an RTL pass?
It just needs to be completely rewritten and might be more complicated. And it might be more difficult to avoid redundant instrumentation without SSA. It might also be more fragile as RTL changes by target, although right now it's only used on x86, so that wouldn't be a major concern. -Andi