On Tue, 24 Jan 2017, Richard Biener wrote:

That was my thought as well, but AFAICT we only call into match.pd
from VRP if we changed the insn.

Yes - there was thoughts to change that (but it comes at an expense).
Basically we'd like to re-fold stmts that indirectly use stmts we
changed.  We certainly don't want to re-fold everything all the time.

VRP is kind of a special case, every variable for which it finds a
new/improved range could be considered changed, since it may trigger
some extra transformation in match.pd (same for CCP and the nonzero
mask).

--
Marc Glisse

Reply via email to