Skip to content

Commit 3df6b7c

Browse files
authored
Merge pull request #40894 from philipturner/patch-13
2 parents afd6408 + 78e580f commit 3df6b7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/SILOptimizer/Differentiation/DifferentiationInvoker.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ void DifferentiationInvoker::print(llvm::raw_ostream &os) const {
4646
switch (kind) {
4747
case Kind::DifferentiableFunctionInst:
4848
os << "differentiable_function_inst=(" << *getDifferentiableFunctionInst()
49-
<< ")";
49+
<< ')';
5050
break;
5151
case Kind::LinearFunctionInst:
52-
os << "linear_function_inst=(" << *getLinearFunctionInst() << ")";
52+
os << "linear_function_inst=(" << *getLinearFunctionInst() << ')';
5353
break;
5454
case Kind::IndirectDifferentiation: {
5555
auto indDiff = getIndirectDifferentiation();

lib/SILOptimizer/Differentiation/PullbackCloner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ class PullbackCloner::Implementation final
10511051
// Note: All user-called initializations go through the calls to the
10521052
// initializer, and synthesized initializers only have one level of
10531053
// struct formation which will not result into any aggregate adjoint
1054-
// valeus.
1054+
// values.
10551055
llvm_unreachable(
10561056
"Aggregate adjoint values should not occur for `struct` "
10571057
"instructions");

0 commit comments

Comments
 (0)