[Mesa-dev] [PATCH 1/3] nir: make nir_opt_remove_phis_impl() static
apinheiro
apinheiro at igalia.com
Wed Jan 2 10:13:53 UTC 2019
The three patches:
Reviewed-by: Alejandro PiƱeiro <apinheiro at igalia.com>
On 2/1/19 6:00, Timothy Arceri wrote:
> ---
> src/compiler/nir/nir.h | 1 -
> src/compiler/nir/nir_opt_remove_phis.c | 2 +-
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
> index 4b8de4bb01..94d6578620 100644
> --- a/src/compiler/nir/nir.h
> +++ b/src/compiler/nir/nir.h
> @@ -3221,7 +3221,6 @@ bool nir_opt_move_load_ubo(nir_shader *shader);
> bool nir_opt_peephole_select(nir_shader *shader, unsigned limit,
> bool indirect_load_ok, bool expensive_alu_ok);
>
> -bool nir_opt_remove_phis_impl(nir_function_impl *impl);
> bool nir_opt_remove_phis(nir_shader *shader);
>
> bool nir_opt_shrink_load(nir_shader *shader);
> diff --git a/src/compiler/nir/nir_opt_remove_phis.c b/src/compiler/nir/nir_opt_remove_phis.c
> index e2d3994c49..d7ca2fe717 100644
> --- a/src/compiler/nir/nir_opt_remove_phis.c
> +++ b/src/compiler/nir/nir_opt_remove_phis.c
> @@ -139,7 +139,7 @@ remove_phis_block(nir_block *block, nir_builder *b)
> return progress;
> }
>
> -bool
> +static bool
> nir_opt_remove_phis_impl(nir_function_impl *impl)
> {
> bool progress = false;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 1546 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190102/1cd925bc/attachment.key>
More information about the mesa-dev
mailing list