From 7d41bf8d7b4a094bdfa725d68053ab21a1365ad5 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 2 Mar 2017 11:09:00 -0800 Subject: [PATCH] nir: Fix syntax. et is not an abbreviation. Reviewed-by: Dylan Baker Reviewed-by: Jason Ekstrand --- src/compiler/nir/nir_from_ssa.c | 10 +++++----- src/compiler/nir/nir_lower_vars_to_ssa.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/compiler/nir/nir_from_ssa.c b/src/compiler/nir/nir_from_ssa.c index fdfbf98e374..d2646c63c47 100644 --- a/src/compiler/nir/nir_from_ssa.c +++ b/src/compiler/nir/nir_from_ssa.c @@ -32,7 +32,7 @@ /* * This file implements an out-of-SSA pass as described in "Revisiting * Out-of-SSA Translation for Correctness, Code Quality, and Efficiency" by - * Boissinot et. al. + * Boissinot et al. */ struct from_ssa_state { @@ -64,9 +64,9 @@ ssa_def_dominates(nir_ssa_def *a, nir_ssa_def *b) /* The following data structure, which I have named merge_set is a way of * representing a set registers of non-interfering registers. This is * based on the concept of a "dominance forest" presented in "Fast Copy - * Coalescing and Live-Range Identification" by Budimlic et. al. but the + * Coalescing and Live-Range Identification" by Budimlic et al. but the * implementation concept is taken from "Revisiting Out-of-SSA Translation - * for Correctness, Code Quality, and Efficiency" by Boissinot et. al.. + * for Correctness, Code Quality, and Efficiency" by Boissinot et al. * * Each SSA definition is associated with a merge_node and the association * is represented by a combination of a hash table and the "def" parameter @@ -177,7 +177,7 @@ merge_merge_sets(merge_set *a, merge_set *b) * * This is an implementation of Algorithm 2 in "Revisiting Out-of-SSA * Translation for Correctness, Code Quality, and Efficiency" by - * Boissinot et. al. + * Boissinot et al. */ static bool merge_sets_interfere(merge_set *a, merge_set *b) @@ -561,7 +561,7 @@ emit_copy(nir_builder *b, nir_src src, nir_src dest_src) /* Resolves a single parallel copy operation into a sequence of movs * * This is based on Algorithm 1 from "Revisiting Out-of-SSA Translation for - * Correctness, Code Quality, and Efficiency" by Boissinot et. al.. + * Correctness, Code Quality, and Efficiency" by Boissinot et al. * However, I never got the algorithm to work as written, so this version * is slightly modified. * diff --git a/src/compiler/nir/nir_lower_vars_to_ssa.c b/src/compiler/nir/nir_lower_vars_to_ssa.c index 4ea5ea5cd51..37a786cbacd 100644 --- a/src/compiler/nir/nir_lower_vars_to_ssa.c +++ b/src/compiler/nir/nir_lower_vars_to_ssa.c @@ -475,7 +475,7 @@ lower_copies_to_load_store(struct deref_node *node, * * This algorithm is very similar to the one outlined in "Efficiently * Computing Static Single Assignment Form and the Control Dependence - * Graph" by Cytron et. al. The primary difference is that we only put one + * Graph" by Cytron et al. The primary difference is that we only put one * SSA def on the stack per block. */ static bool -- 2.11.0