mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[frontend] Add support for -disable-llvm-optzns.
Swift SVN r11453
This commit is contained in:
@@ -318,6 +318,10 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.OptLevel = 0;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_disable_llvm_optzns)) {
|
||||
Opts.DisableLLVMOptzns = true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user