On Sun, 18 Jul 2021, Roger Sayle wrote:

+    (if (GIMPLE || !TREE_SIDE_EFFECTS (@0))

I don't think you need to worry about that, the general genmatch machinery is already supposed to take care of it. All the existing cases in match.pd are about cond_expr, where counting the occurrences of each @i is not reliable.

--
Marc Glisse

Reply via email to