We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 328ce4c commit 2373df2Copy full SHA for 2373df2
lib/SILOptimizer/Mandatory/Differentiation.cpp
@@ -3235,8 +3235,8 @@ class VJPEmitter final
3235
// This instruction is active. Determine the appropriate differentiation
3236
// strategy, and use it.
3237
auto *structDecl = sei->getStructDecl();
3238
- if (structDecl->getEffectiveAccess() <= AccessLevel::Internal
3239
- || structDecl->getAttrs().hasAttribute<FieldwiseDifferentiableAttr>()) {
+ if (structDecl->getEffectiveAccess() <= AccessLevel::Internal ||
+ structDecl->getAttrs().hasAttribute<FieldwiseDifferentiableAttr>()) {
3240
strategies[sei] = StructExtractDifferentiationStrategy::Fieldwise;
3241
SILClonerWithScopes::visitStructExtractInst(sei);
3242
return;
0 commit comments