diff options
author | J. Ryan Stinnett <jryans@gmail.com> | 2023-12-03 16:33:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-03 11:33:42 -0500 |
commit | c3e1b04c310729d713a8fa7d4a40c1bcd752b384 (patch) | |
tree | 4b408daefe05fb52e03d1417e4e82a6be585693c /lib/compilers/swift.ts | |
parent | c02f94233ed46c42600bec411262cba15c8e5b6f (diff) | |
download | compiler-explorer-gh-9794.tar.gz compiler-explorer-gh-9794.zip |
Rename opt pipeline without LLVM prefix (#5828)gh-9794
This prepares for future work that will reuse the opt pipeline view
outside of the LLVM ecosystem by renaming related components to remove
the LLVM prefix.
The pass dumper keep its LLVM prefix, as it is assumed this part is
likely to be customised for each compiler ecosystem.
The historical component name has been preserved in the component list
as an alias to keep old links working.
Diffstat (limited to 'lib/compilers/swift.ts')
-rw-r--r-- | lib/compilers/swift.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/compilers/swift.ts b/lib/compilers/swift.ts index 6b4406aeb..7d943752f 100644 --- a/lib/compilers/swift.ts +++ b/lib/compilers/swift.ts @@ -35,10 +35,10 @@ export class SwiftCompiler extends BaseCompiler { constructor(info: PreliminaryCompilerInfo, env) { super(info, env); - this.compiler.supportsLLVMOptPipelineView = true; - this.compiler.llvmOptArg = ['-Xllvm', '-print-after-all', '-Xllvm', '-print-before-all']; - this.compiler.llvmOptModuleScopeArg = ['-Xllvm', '-print-module-scope']; - this.compiler.llvmOptNoDiscardValueNamesArg = []; + this.compiler.supportsOptPipelineView = true; + this.compiler.optPipelineArg = ['-Xllvm', '-print-after-all', '-Xllvm', '-print-before-all']; + this.compiler.optPipelineModuleScopeArg = ['-Xllvm', '-print-module-scope']; + this.compiler.optPipelineNoDiscardValueNamesArg = []; } override getSharedLibraryPathsAsArguments() { |