Skip to content

Commit 78d9d8f

Browse files
committed
Fix typo in SimplifyCFG.cpp
<code>swith_enum</code> -> <code>switch_enum</code>
1 parent 886d2fc commit 78d9d8f

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)