Skip to content

Commit dfc0261

Browse files
committed
Merge pull request #315 from nuts23/patch-10
Fix typo in SimplifyCFG.cpp
2 parents 92b56cb + 78d9d8f commit dfc0261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILPasses/Scalar/SimplifyCFG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2689,7 +2689,7 @@ static SILValue getInsertedValue(SILInstruction *Aggregate,
26892689
return Tuple->getElement(TEI->getFieldNo());
26902690
}
26912691

2692-
/// Check a diamond-form property of graphs generated by swith_enum
2692+
/// Check a diamond-form property of graphs generated by switch_enum
26932693
/// instructions, who only produce integer values by each of BBs handling its
26942694
/// case tags.
26952695
/// In such graphs, switch_enum dominates any blocks processing cases and all

0 commit comments

Comments
 (0)