Skip to content

Commit fb314c3

Browse files
Fix typos introduced yesterday :-)
1 parent 8338233 commit fb314c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/SILOptimizer/Transforms/RedundantLoadElimination.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ using namespace swift;
9898

9999
STATISTIC(NumForwardedLoads, "Number of loads forwarded");
100100

101-
/// ComputeMaxAvailSet - If we ignore all unknow writes, what is the max
101+
/// ComputeMaxAvailSet - If we ignore all unknown writes, what is the max
102102
/// available set that can reach the beginning of a basic block. This helps
103103
/// generating the genset and kill`set. i.e. if there is no downward visible
104104
/// value that can reach the end of a basic block, then we know that the genset
@@ -108,7 +108,7 @@ STATISTIC(NumForwardedLoads, "Number of loads forwarded");
108108
///
109109
/// ComputeAvailSet - Compute the available set at the end of the basic block.
110110
///
111-
/// ComputeAvailValue - Compute the avaliable value at the end of the basic
111+
/// ComputeAvailValue - Compute the available value at the end of the basic
112112
/// block.
113113
///
114114
/// PerformRLE - Perform the actual redundant load elimination.
@@ -486,7 +486,7 @@ class RLEContext {
486486
/// Process basic blocks w.r.t. to the given Kind.
487487
void processBasicBlocksForRLE();
488488

489-
/// Iterate over the basic block in abitrary order and process each for
489+
/// Iterate over the basic block in arbitrary order and process each for
490490
/// its genset and killset.
491491
void processBasicBlocksForGenKillSet();
492492

0 commit comments

Comments
 (0)