nir: Add a helper for getting the current block from a cursor
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 25 Mar 2016 21:16:47 +0000 (14:16 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Mar 2016 01:32:48 +0000 (18:32 -0700)
commit35e2e96b307bcd6dd839a11e2bd98fa22bd4d50a
treec85c7ee6a53c18f33a30b99b45684e28fac0f49a
parentbe98c475284823abdd9a6102c1c65ed548d9afd2
nir: Add a helper for getting the current block from a cursor

Reviewed-by: Rob Clark <robdclark@gmail.com>
src/compiler/nir/nir.h