nir/flrp: Add new lowering pass for flrp instructions
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 18 Aug 2018 18:46:46 +0000 (11:46 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 7 May 2019 05:52:28 +0000 (22:52 -0700)
commit158370ed2a012574bcc18e98075712da04fe22e8
tree6d643e644c32a8d1cb079e344c7c541a8f6f0280
parentdc566a033cca87821d55ff0f68ee8a108eb0e2a3
nir/flrp: Add new lowering pass for flrp instructions

This pass will soon grow to include some optimizations that are
difficult or impossible to implement correctly within nir_opt_algebraic.
It also include the ability to generate strictly correct code which the
current nir_opt_algebraic lowering lacks (though that could be changed).

v2: Document the parameters to nir_lower_flrp.  Rebase on top of
3766334923e ("compiler/nir: add lowering for 16-bit flrp")

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/Makefile.sources
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_flrp.c [new file with mode: 0644]