diff options
author | Jason Ekstrand <[email protected]> | 2016-02-12 21:41:42 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-03-24 15:20:44 -0700 |
commit | e4dc82cfcffd9c3472b962b6bd7328788926452d (patch) | |
tree | be59a0c6768f23386566f6b5b3e6109eaf9dddef /src/compiler/nir/Makefile.sources | |
parent | 9a41d947319f2d2999b4b5442ce20443d7c3cf3a (diff) |
nir: Add a phi node placement helper
Right now, we have phi placement code in two places and there are other
places where it would be nice to be able to do this analysis. Instead of
repeating it all over the place, this commit adds a helper for placing all
of the needed phi nodes for a value.
v2: Add better documentation
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/compiler/nir/Makefile.sources')
-rw-r--r-- | src/compiler/nir/Makefile.sources | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/Makefile.sources b/src/compiler/nir/Makefile.sources index f31547b9aac..db3eeccf858 100644 --- a/src/compiler/nir/Makefile.sources +++ b/src/compiler/nir/Makefile.sources @@ -58,6 +58,8 @@ NIR_FILES = \ nir_opt_peephole_select.c \ nir_opt_remove_phis.c \ nir_opt_undef.c \ + nir_phi_builder.c \ + nir_phi_builder.h \ nir_print.c \ nir_remove_dead_variables.c \ nir_search.c \ |