Skip to content

Commit 727cd96

Browse files
committed
Format
1 parent 37c0eb2 commit 727cd96

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/SILOptimizer/SILCombiner/SILCombinerApplyVisitors.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,11 +940,12 @@ SILInstruction *SILCombiner::createApplyWithConcreteType(
940940
bool madeUpdate = false;
941941
for (unsigned index = 0; index < conv.getNumSILArguments(); ++index) {
942942
canUpdate &= conv.getSILArgumentType(index) == NewArgs[index]->getType();
943-
madeUpdate |= NewArgs[index]->getType() != Apply.getArgument(index)->getType();
943+
madeUpdate |=
944+
NewArgs[index]->getType() != Apply.getArgument(index)->getType();
944945
}
945946
return std::make_tuple(canUpdate, madeUpdate);
946947
}();
947-
948+
948949
if (!canUpdateArgs || !madeUpdate) {
949950
// Remove any new instructions created while attempting to optimize this
950951
// apply. Since the apply was never rewritten, if they aren't removed here,

0 commit comments

Comments
 (0)