Skip to content

Commit a203aee

Browse files
authored
Merge pull request #12331 from lattner/commentchange
2 parents 04b8712 + 80da9b6 commit a203aee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/SILOptimizer/Analysis/SimplifyInstruction.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ visitUncheckedEnumDataInst(UncheckedEnumDataInst *UEDI) {
167167
return SILValue();
168168
}
169169

170-
// Simplify
171-
// %1 = unchecked_enum_data %0 : $Optional<C>, #Optional.Some!enumelt.1 // user: %27
172-
// %2 = enum $Optional<C>, #Optional.Some!enumelt.1, %1 : $C // user: %28
170+
// Simplify:
171+
// %1 = unchecked_enum_data %0 : $Optional<C>, #Optional.Some!enumelt.1
172+
// %2 = enum $Optional<C>, #Optional.Some!enumelt.1, %1 : $C
173173
// to %0 since we are building the same enum.
174174
static SILValue simplifyEnumFromUncheckedEnumData(EnumInst *EI) {
175175
assert(EI->hasOperand() && "Expected an enum with an operand!");

0 commit comments

Comments
 (0)