Skip to content

Commit 04c2020

Browse files
committed
Merge pull request #312 from nuts23/patch-7
Fix typo in DeadStoreElimination.cpp
2 parents bad7523 + 25827c6 commit 04c2020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SILPasses/Scalar/DeadStoreElimination.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
///
4141
/// When a load or store instruction is encountered, the memory is broken down
4242
/// to the indivisible components, i.e aggregates are broken down to their
43-
/// individual fields using the expand function. This gives the flexbility to
43+
/// individual fields using the expand function. This gives the flexibility to
4444
/// find exactly which part of the store is alive and which part is dead.
4545
///
4646
/// After the live parts of the store are determined, they are merged into the
@@ -848,7 +848,7 @@ void DSEContext::run() {
848848

849849
// For all basic blocks in the function, initialize a BB state. Since we
850850
// know all the locations accessed in this function, we can resize the bit
851-
// vector to the approproate size.
851+
// vector to the appropriate size.
852852
//
853853
// DenseMap has a minimum size of 64, while many functions do not have more
854854
// than 64 basic blocks. Therefore, allocate the BBState in a vector and use

0 commit comments

Comments
 (0)