nir/algebraic: add option to lower fdph
authorJonathan Marek <jonathan@marek.ca>
Fri, 21 Jun 2019 01:47:16 +0000 (21:47 -0400)
committerJonathan Marek <jonathan@marek.ca>
Wed, 24 Jul 2019 21:36:21 +0000 (17:36 -0400)
commit1e089d05750cfc9555a421eaa0c44005361ebb4b
tree2e4bb2101bb385480cc1b1cdc4f7b1e5f00622d7
parentbc3b6168bac39a16326c730a9d0ae97b45c7df23
nir/algebraic: add option to lower fdph

For backends that don't have a 'fdph' instructions

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_algebraic.py