File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
52
52
// / describe what change you made. The content of this comment isn't important;
53
53
// / it just ensures a conflict if two people change the module format.
54
54
// / Don't worry about adhering to the 80-column limit for this line.
55
- const uint16_t SWIFTMODULE_VERSION_MINOR = 522 ; // use DifferentiabilityKindField in SILFunctionTypeLayout
55
+ const uint16_t SWIFTMODULE_VERSION_MINOR = 523 ; // differentiable_function and differentiable_function_extract instructions
56
56
57
57
// / A standard hash seed used for all string hashes in a serialized module.
58
58
// /
@@ -326,6 +326,7 @@ enum class ParameterConvention : uint8_t {
326
326
};
327
327
using ParameterConventionField = BCFixed<4 >;
328
328
329
+ // SWIFT_ENABLE_TENSORFLOW
329
330
// These IDs must \em not be renumbered or reordered without incrementing the
330
331
// module version.
331
332
enum class DifferentiabilityKind : uint8_t {
@@ -335,7 +336,6 @@ enum class DifferentiabilityKind : uint8_t {
335
336
};
336
337
using DifferentiabilityKindField = BCFixed<2 >;
337
338
338
- // SWIFT_ENABLE_TENSORFLOW
339
339
// These IDs must \em not be renumbered or reordered without incrementing
340
340
// the module version.
341
341
enum class SILParameterDifferentiability : uint8_t {
Original file line number Diff line number Diff line change @@ -3663,6 +3663,7 @@ static uint8_t getRawStableSILCoroutineKind(
3663
3663
llvm_unreachable (" bad kind" );
3664
3664
}
3665
3665
3666
+ // SWIFT_ENABLE_TENSORFLOW
3666
3667
// / Translate from the AST differentiability kind enum to the Serialization enum
3667
3668
// / values, which are guaranteed to be stable.
3668
3669
static uint8_t getRawStableDifferentiabilityKind (
You can’t perform that action at this time.
0 commit comments