Skip to content

aco: remove some missing label resets

Rhys Perry requested to merge pendingchaos/mesa:aco_reset_label_xnor into main

In the case of:

   c = xor(a, b)
   d = not(c)
   xor(d, e)

it will be optimized to:

   d = xnor(a, b)
   xor(d, e)

because "d" would still had a label with "instr=not(c)", it would then be further optimized to:

   d = xnor(a, b)
   xnor(c, e)

Merge request reports