summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-01-12 14:09:30 -0800
committerJason Ekstrand <[email protected]>2017-01-12 14:56:55 -0800
commit08eced3cfd8cb3b5d7f7de1098dabcfdf7dd3650 (patch)
treeabb07be70438b9d624438887ccde1c68e7b6ced5 /src/compiler/nir
parent087e172179be3b9be89955cd012a26ea770ee9eb (diff)
nir/gcm: Fix a typo in a comment
Reported-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r--src/compiler/nir/nir_opt_gcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_gcm.c b/src/compiler/nir/nir_opt_gcm.c
index 9d7f59c8b33..cff2315da30 100644
--- a/src/compiler/nir/nir_opt_gcm.c
+++ b/src/compiler/nir/nir_opt_gcm.c
@@ -320,7 +320,7 @@ gcm_schedule_late_def(nir_ssa_def *def, void *void_state)
if (lca == NULL)
return true;
- /* We know have the LCA of all of the uses. If our invariants hold,
+ /* We now have the LCA of all of the uses. If our invariants hold,
* this is dominated by the block that we chose when scheduling early.
* We now walk up the dominance tree and pick the lowest block that is
* as far outside loops as we can get.