On 11-11-01 15:11 , konstantin.s.serebry...@gmail.com wrote:
Diego mentioned that we can move the asan pass somewhere to the very end, just before lowering to RTL. Where would be this blessed place? Does it still have TARGET_MEM_REF?
Right before pass_expand? In init_optimization_passes(), look for NEXT_PASS (pass_expand). That's RTL generation. Somewhere before that.
TARGET_MEM_REFs are converted to RTL mems during RTL expansion. Diego.