Re: [Mesa-dev] [PATCH 15/22] nir: Use De Morgan's Law on logic compounded comparisons

2018-02-28 Thread Samuel Iglesias Gonsálvez
Reviewed-by: Samuel Iglesias Gonsálvez On 24/02/18 00:56, Ian Romanick wrote: > From: Ian Romanick > > The replacement of the comparison operators must happen during this > step. If it does not, the next pass of nir_opt_algebraic will reapply >

[Mesa-dev] [PATCH 15/22] nir: Use De Morgan's Law on logic compounded comparisons

2018-02-23 Thread Ian Romanick
From: Ian Romanick The replacement of the comparison operators must happen during this step. If it does not, the next pass of nir_opt_algebraic will reapply De Morgan's Law in the "opposite direction" before performing dead code elimination. The resulting infinite