Skip to content

Commit 7d0e9e0

Browse files
bgogulrxwei
authored andcommitted
---
yaml --- r: 340980 b: refs/heads/rxwei-patch-1 c: 2ce6f9c h: refs/heads/master
1 parent b881a59 commit 7d0e9e0

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-08-18-a: b10b1fce14385faa6d44f6b933e95
10151015
refs/heads/rdar-43033749-fix-batch-mode-no-diags-swift-5.0-branch: a14e64eaad30de89f0f5f0b2a782eed7ecdcb255
10161016
refs/heads/revert-19006-error-bridging-integer-type: 8a9065a3696535305ea53fe9b71f91cbe6702019
10171017
refs/heads/revert-19050-revert-19006-error-bridging-integer-type: ecf752d54b05dd0a20f510f0bfa54a3fec3bcaca
1018-
refs/heads/rxwei-patch-1: 78f9a13bfa263666607050359a9a71c41639c0a0
1018+
refs/heads/rxwei-patch-1: 2ce6f9c40acc4713189fa0a4999ac04ee6f786f8
10191019
refs/heads/shahmishal-patch-1: e58ec0f7488258d42bef51bc3e6d7b3dc74d7b2a
10201020
refs/heads/typelist-existential: 4046359efd541fb5c72d69a92eefc0a784df8f5e
10211021
refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a: 4319ba09e4fb8650ee86061075c74a016b6baab9

branches/rxwei-patch-1/include/swift/AST/SILOptions.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,6 @@ class SILOptions {
145145
// some functions that return closures that take/return large loadable types.
146146
bool EnableLargeLoadableTypes = false;
147147

148-
/// Enable serialization of the module just before differentiation. This
149-
/// allows the differentiation pass to differentiate SIL that has been loaded
150-
/// from this module. The LLDB REPL uses this so that the differentiation
151-
/// pass can differentiate functions defined on different lines.
152-
bool SerializeForDifferentiation = false;
153-
154148
/// Should the default pass pipelines strip ownership during the diagnostic
155149
/// pipeline or after serialization.
156150
bool StripOwnershipAfterSerialization = false;

branches/rxwei-patch-1/lib/SILOptimizer/PassManager/PassPipeline.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ static void addMandatoryOptPipeline(SILPassPipelinePlan &P) {
108108
if (!Options.StripOwnershipAfterSerialization)
109109
P.addOwnershipModelEliminator();
110110
// SWIFT_ENABLE_TENSORFLOW
111-
if (Options.SerializeForDifferentiation) {
112-
P.addSerializeSILPass();
113-
}
114111
P.addDifferentiation();
115112
P.addMandatoryInlining();
116113
P.addMandatorySILLinker();

0 commit comments

Comments
 (0)