mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Exclusivity] Allow testing the -Onone pipeline with access markers.
Markers are always eliminated before -O passes. At -Onone, markers can be enabled via command line for all -Onone passes.
This commit is contained in:
@@ -671,6 +671,9 @@ static bool performCompile(std::unique_ptr<CompilerInstance> &Instance,
|
||||
SharedTimer timer("SIL optimization");
|
||||
if (Invocation.getSILOptions().Optimization >
|
||||
SILOptions::SILOptMode::None) {
|
||||
|
||||
runSILOptPreparePasses(*SM);
|
||||
|
||||
StringRef CustomPipelinePath =
|
||||
Invocation.getSILOptions().ExternalPassPipelineFilename;
|
||||
if (!CustomPipelinePath.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user