Files
third_party_mesa3d/src/compiler
Alyssa Rosenzweig 5d85a0a55b nir: Implement optional b2f->iand lowering
This pass is required by the Midgard compiler; our instruction set uses
NIR-style booleans (~0 for true) but lacks a dedicated b2f instruction.
Normally, this lowering pass would be implemented in a backend-specific
algebraic pass, but this conflicts with the existing iand->b2f pass in
nir_opt_algebraic.py, hanging the compiler. This patch thus makes the
existing pass optional (default on -- all other backends should remain
unaffected), adding an optional pass for lowering the opposite
direction.

v2: Defer lowering until late algebraic optimisations to allow
optimising the b2f instruction itself.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2018-05-18 22:44:09 +02:00
..
2018-05-14 14:55:36 +01:00
2017-07-21 08:47:56 +03:00
2017-10-13 15:02:34 -07:00
2018-04-12 19:31:30 -04:00
2018-04-20 20:26:56 -07:00
2018-04-24 14:08:15 -07:00
2018-03-25 10:42:54 -04:00
2018-03-14 10:08:42 -04:00
2018-03-30 14:33:03 -06:00
2016-09-12 10:48:35 +10:00
2018-03-27 08:36:37 -04:00