nir/validate: Use a ralloc context for our temporary data
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 10 May 2019 19:44:45 +0000 (14:44 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Mon, 13 May 2019 14:43:47 +0000 (14:43 +0000)
commit460567eabf735003059ed24068d21b159d309896
treec902950abb774d525cfea9ce41a2fe72778b5d1e
parent6963f59cae61e1736deb41f6a9e14252a36123ba
nir/validate: Use a ralloc context for our temporary data

All of our hash tables and sets are already using ralloc.  There's
really no good reason why we don't just make a ralloc context rather
than try to remember to clean everything up manually.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
src/compiler/nir/nir_validate.c