diff options
author | Matt Turner <[email protected]> | 2017-02-27 17:21:42 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-03-23 14:34:43 -0700 |
commit | d6e2bdfed3e22df26e9ad8874936241ba00575f6 (patch) | |
tree | be2296d20be45a477f53c5b0163e2e8ecc3469fc /src/compiler/nir/nir_control_flow.h | |
parent | 54f9f34181ff3f6840472d16000e0092d12eb64d (diff) |
nir: Stop using apostrophes to pluralize.
Reviewed-by: Dylan Baker <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_control_flow.h')
-rw-r--r-- | src/compiler/nir/nir_control_flow.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/nir/nir_control_flow.h b/src/compiler/nir/nir_control_flow.h index a487eb04660..2ea460e5df3 100644 --- a/src/compiler/nir/nir_control_flow.h +++ b/src/compiler/nir/nir_control_flow.h @@ -36,11 +36,11 @@ extern "C" { /** NIR Control Flow Modification * - * This file contains various API's that make modifying control flow in NIR, + * This file contains various APIs that make modifying control flow in NIR, * while maintaining the invariants checked by the validator, much easier. * There are two parts to this: * - * 1. Inserting control flow (if's and loops) in various places, for creating + * 1. Inserting control flow (ifs and loops) in various places, for creating * IR either from scratch or as part of some lowering pass. * 2. Taking existing pieces of the IR and either moving them around or * deleting them. @@ -93,12 +93,12 @@ nir_cf_node_insert_end(struct exec_list *list, nir_cf_node *node) * predecessors: * * 1) After an if statement, if neither branch ends in a jump. - * 2) After a loop, if there are multiple break's. + * 2) After a loop, if there are multiple breaks. * 3) At the beginning of a loop. * * For #1, the phi node is considered to be part of the if, and for #2 and * #3 the phi node is considered to be part of the loop. This allows us to - * keep phi's intact, but it means that phi nodes cannot be separated from + * keep phis intact, but it means that phi nodes cannot be separated from * the control flow they come from. For example, extracting an if without * extracting all the phi nodes after it is not allowed, and neither is * extracting only some of the phi nodes at the beginning of a block. It |