diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 656a3e471b..3786700a69 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -4921,10 +4921,6 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, Args.ClaimAllArgs(options::OPT_MJ); } - // For FLANG, we want to pass -O1 as the default, iff no -O was given - if (IsFlang && (!Args.getLastArg(options::OPT_O_Group))) - CmdArgs.push_back("-O1"); - if (IsCuda) { // We have to pass the triple of the host if compiling for a CUDA device and // vice-versa.