nir/search: Fix possible NULL dereference in is_fsign
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 15 Jul 2019 22:18:47 +0000 (15:18 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 17 Oct 2019 22:07:01 +0000 (15:07 -0700)
commit050e4e28bf7c86e2fc78b9e4dbaf285db1ed4b43
tree3fb3afaebd8f63e4ccd0ffbbf86a57593dabc266
parentda10fa9d63675dcdd789827cdb5b082140ec0621
nir/search: Fix possible NULL dereference in is_fsign

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fixes: 09705747d72 ("nir/algebraic: Reassociate fadd into fmul in DPH-like pattern")
src/compiler/nir/nir_search_helpers.h