mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove the stand-alone generic specialization pass.
We do generic specialization in the inliner now, so we no longer need the separate pass. The order the specializations are inserted into the module differs as a result of this, which means that one unfortunately huge test needed substantial changes. At some point this test needs to be converted to SIL and split up into smaller chunks. Swift SVN r31323
This commit is contained in:
@@ -81,7 +81,6 @@ def ssapass_passlist(optlevel):
|
||||
p.CodeMotion, # Need to add proper argument here
|
||||
p.GlobalARCOpts,
|
||||
p.SpeculativeDevirtualizer,
|
||||
p.GenericSpecializer,
|
||||
p.SILLinker,
|
||||
inliner_for_optlevel(optlevel),
|
||||
p.SimplifyCFG,
|
||||
@@ -100,9 +99,6 @@ def lower_passlist():
|
||||
p.FunctionSignatureOpts,
|
||||
])
|
||||
|
||||
def specialization_passlist():
|
||||
return ppipe.PassList([p.SILLinker, p.GenericSpecializer])
|
||||
|
||||
def normal_passpipelines():
|
||||
result = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user