mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Spelling siloptimizer
* access * accessed * accesses * accessor * acquiring * across * activated * additive * address * addresses' * aggregated * analysis * and * appropriately * archetype * argument * associated * availability * barriers * because * been * beginning * belongs * beneficial * blocks * borrow * builtin * cannot * canonical * canonicalize * clazz * cleanup * coalesceable * coalesced * comparisons * completely * component * computed * concrete * conjunction * conservatively * constituent * construct * consuming * containing * covered * creates * critical * dataflow * declaration * defined * defining * definition * deinitialization * deliberately * dependencies * dependent * deserialized * destroy * deterministic * deterministically * devirtualizes * diagnostic * diagnostics * differentiation * disable * discipline * dominate * dominates * don't * element * eliminate * eliminating * elimination * embedded * encounter * epilogue * epsilon * escape * escaping * essential * evaluating * evaluation * evaluator * executing * existential * existentials * explicit * expression * extended * extension * extract * for * from * function * generic * guarantee * guaranteed * happened * heuristic * however * identifiable * immediately * implementation * improper * include * infinite * initialize * initialized * initializer * inside * instruction * interference * interferes * interleaved * internal * intersection * intractable * intrinsic * invalidates * irreducible * irrelevant * language * lifetime * literal * looks * materialize * meaning * mergeable * might * mimics * modification * modifies * multiple * mutating * necessarily * necessary * needsmultiplecopies * nonetheless * nothing * occurred * occurs * optimization * optimizing * original * outside * overflow * overlapping * overridden * owned * ownership * parallel * parameter * paths * patterns * pipeline * plottable * possible * potentially * practically * preamble * precede * preceding * predecessor * preferable * preparation * probably * projection * properties * property * protocol * reabstraction * reachable * recognized * recursive * recursively * redundant * reentrancy * referenced * registry * reinitialization * reload * represent * requires * response * responsible * retrieving * returned * returning * returns * rewriting * rewritten * sample * scenarios * scope * should * sideeffects * similar * simplify * simplifycfg * somewhat * spaghetti * specialization * specializations * specialized * specially * statistically * substitute * substitution * succeeds * successful * successfully * successor * superfluous * surprisingly * suspension * swift * targeted * that * that our * the * therefore * this * those * threshold * through * transform * transformation * truncated * ultimate * unchecked * uninitialized * unlikely * unmanaged * unoptimized key * updataflow * usefulness * utilities * villain * whenever * writes Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
@@ -893,7 +893,7 @@ void COWArrayOpt::hoistAddressProjections(Operand &ArrayOp) {
|
||||
/// Check if this call to "make_mutable" is hoistable, and copy it, along with
|
||||
/// the corresponding end_mutation call, to the loop pre-header.
|
||||
///
|
||||
/// The origial make_mutable/end_mutation calls remain in the loop, because
|
||||
/// The original make_mutable/end_mutation calls remain in the loop, because
|
||||
/// removing them would violate the COW representation rules.
|
||||
/// Having those calls in the pre-header will then enable COWOpts (after
|
||||
/// inlining) to constant fold the uniqueness check of the begin_cow_mutation
|
||||
@@ -936,7 +936,7 @@ bool COWArrayOpt::hoistMakeMutable(ArraySemanticsCall MakeMutable,
|
||||
StructUses.collectUses(ArrayContainer, AccessPath);
|
||||
} else {
|
||||
// There are some unsafe operations in the loop. If the array is uniquely
|
||||
// identifyable and not escaping, then we are good if all the array uses
|
||||
// identifiable and not escaping, then we are good if all the array uses
|
||||
// are safe.
|
||||
if (!arrayContainerIsUnique) {
|
||||
LLVM_DEBUG(llvm::dbgs() << " Skipping Array: is not unique!\n");
|
||||
|
||||
Reference in New Issue
Block a user