r290392 - Make '-disable-llvm-optzns' an alias for '-disable-llvm-passes'.

Chandler Carruth via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 15:01:19 PST 2017


On Thu, Jan 12, 2017 at 12:02 PM Justin Bogner <mail at justinbogner.com>
wrote:

> Chandler Carruth via cfe-commits <cfe-commits at lists.llvm.org> writes:
> > Author: chandlerc
> > Date: Thu Dec 22 18:23:01 2016
> > New Revision: 290392
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=290392&view=rev
> > Log:
> > Make '-disable-llvm-optzns' an alias for '-disable-llvm-passes'.
> >
> > Much to my surprise, '-disable-llvm-optzns' which I thought was the
> > magical flag I wanted to get at the raw LLVM IR coming out of Clang
> > deosn't do that. It still runs some passes over the IR. I don't want
> > that, I really want the *raw* IR coming out of Clang and I strongly
> > suspect everyone else using it is in the same camp.
> >
> > There is actually a flag that does what I want that I didn't know about
> > called '-disable-llvm-passes'. I suspect many others don't know about it
> > either. It both does what I want and is much simpler.
> >
> > This removes the confusing version and makes that spelling of the flag
> > an alias for '-disable-llvm-passes'. I've also moved everything in Clang
> > to use the 'passes' spelling as it seems both more accurate (*all* LLVM
> > passes are disabled, not just optimizations) and much easier to remember
> > and spell correctly.
> >
> > This is part of simplifying how Clang drives LLVM to make it cleaner to
> > wire up to the new pass manager.
> >
> > Differential Revision: https://reviews.llvm.org/D28047
> >
> > Modified:
> >     cfe/trunk/include/clang/Driver/CC1Options.td
> >     cfe/trunk/include/clang/Frontend/CodeGenOptions.def
> >     cfe/trunk/lib/CodeGen/BackendUtil.cpp
> >     cfe/trunk/lib/Driver/Tools.cpp
> >     cfe/trunk/lib/Frontend/CompilerInvocation.cpp
> >     cfe/trunk/test/CXX/drs/dr158.cpp
> >     cfe/trunk/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp
> >     cfe/trunk/test/CodeGen/always_inline.c
> >     cfe/trunk/test/CodeGen/attr-minsize.cpp
> >     cfe/trunk/test/CodeGen/bool_test.c
> >     cfe/trunk/test/CodeGen/builtin-expect.c
> >     cfe/trunk/test/CodeGen/builtin-unpredictable.c
> >     cfe/trunk/test/CodeGen/fixup-depth-overflow.c
> >     cfe/trunk/test/CodeGen/function-attributes.c
> >     cfe/trunk/test/CodeGen/inline.c
> >     cfe/trunk/test/CodeGen/may-alias.c
> >     cfe/trunk/test/CodeGen/tbaa-class.cpp
> >     cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp
> >     cfe/trunk/test/CodeGen/tbaa.cpp
> >     cfe/trunk/test/CodeGenCXX/PR26569.cpp
> >     cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp
> >     cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
> >     cfe/trunk/test/CodeGenCXX/destructors.cpp
> >     cfe/trunk/test/CodeGenCXX/dllexport.cpp
> >     cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp
> >     cfe/trunk/test/CodeGenCXX/dllimport.cpp
> >     cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp
> >     cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp
> >     cfe/trunk/test/CodeGenCXX/inline-hint.cpp
> >     cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp
> >     cfe/trunk/test/CodeGenCXX/linkage.cpp
> >     cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp
> >     cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp
> >     cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp
> >     cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp
> >     cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp
> >     cfe/trunk/test/CodeGenCXX/pr24097.cpp
> >     cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp
> >     cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp
> >     cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp
> >     cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp
> >     cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp
> >     cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp
> >     cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp
> >     cfe/trunk/test/CodeGenCXX/template-instantiation.cpp
> >     cfe/trunk/test/CodeGenCXX/thunks.cpp
> >     cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp
> >     cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp
> >     cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp
> >     cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp
> >     cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp
> >     cfe/trunk/test/CodeGenObjC/arc-blocks.m
> >     cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m
> >     cfe/trunk/test/CodeGenObjC/arc-literals.m
> >     cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m
> >     cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m
> >     cfe/trunk/test/CodeGenObjC/arc-ternary-op.m
> >     cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m
> >     cfe/trunk/test/CodeGenObjC/arc.m
> >     cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m
> >     cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-ios.m
> >     cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-mac-arc.m
> >     cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-mac.m
> >     cfe/trunk/test/CodeGenObjCXX/arc-globals.mm
> >     cfe/trunk/test/CodeGenObjCXX/arc-move.mm
> >     cfe/trunk/test/CodeGenObjCXX/arc-new-delete.mm
> >     cfe/trunk/test/CodeGenObjCXX/arc-references.mm
> >     cfe/trunk/test/CodeGenObjCXX/arc.mm
> >     cfe/trunk/test/CodeGenObjCXX/destroy.mm
> >     cfe/trunk/test/CodeGenObjCXX/literals.mm
> >     cfe/trunk/test/Driver/cc1-response-files.c
> >     cfe/trunk/test/Driver/cl-options.c
> >     cfe/trunk/test/Modules/cxx-irgen.cpp
> >     cfe/trunk/test/OpenMP/declare_reduction_codegen.c
> >     cfe/trunk/test/OpenMP/declare_reduction_codegen.cpp
> >     cfe/trunk/test/Profile/func-entry.c
> >     cfe/trunk/test/Profile/gcc-flag-compatibility.c
> >     cfe/trunk/test/Profile/profile-summary.c
> >
> > Modified: cfe/trunk/include/clang/Driver/CC1Options.td
> > URL:
> >
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/CC1Options.td?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/include/clang/Driver/CC1Options.td (original)
> > +++ cfe/trunk/include/clang/Driver/CC1Options.td Thu Dec 22 18:23:01 2016
> > @@ -160,13 +160,13 @@ def fno_math_builtin : Flag<["-"], "fno-
> >    HelpText<"Disable implicit builtin knowledge of math functions">;
> >  }
> >
> > -def disable_llvm_optzns : Flag<["-"], "disable-llvm-optzns">,
> > -  HelpText<"Don't run LLVM optimization passes">;
> >  def disable_llvm_verifier : Flag<["-"], "disable-llvm-verifier">,
> >    HelpText<"Don't run the LLVM IR verifier pass">;
> >  def disable_llvm_passes : Flag<["-"], "disable-llvm-passes">,
> >    HelpText<"Use together with -emit-llvm to get pristine LLVM IR from
> the "
> >             "frontend by not running any LLVM passes at all">;
> > +def disable_llvm_optzns : Flag<["-"], "disable-llvm-optzns">,
> > +  Alias<disable_llvm_passes>;
> >  def disable_red_zone : Flag<["-"], "disable-red-zone">,
> >    HelpText<"Do not emit code that uses the red zone.">;
> >  def dwarf_column_info : Flag<["-"], "dwarf-column-info">,
> >
> > Modified: cfe/trunk/include/clang/Frontend/CodeGenOptions.def
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/CodeGenOptions.def?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/include/clang/Frontend/CodeGenOptions.def (original)
> > +++ cfe/trunk/include/clang/Frontend/CodeGenOptions.def Thu Dec 22
> 18:23:01 2016
> > @@ -49,10 +49,6 @@ CODEGENOPT(DisableFPElim     , 1, 0) ///
> >  CODEGENOPT(DisableFree       , 1, 0) ///< Don't free memory.
> >  CODEGENOPT(DiscardValueNames , 1, 0) ///< Discard Value Names from the
> IR (LLVMContext flag)
> >  CODEGENOPT(DisableGCov       , 1, 0) ///< Don't run the GCov pass, for
> testing.
> > -CODEGENOPT(DisableLLVMOpts   , 1, 0) ///< Don't run any optimizations,
> for use in
> > -                                     ///< getting .bc files that
> correspond to the
> > -                                     ///< internal state before
> optimizations are
> > -                                     ///< done.
> >  CODEGENOPT(DisableLLVMPasses , 1, 0) ///< Don't run any LLVM IR passes
> to get
> >                                       ///< the pristine IR generated by
> the
> >                                       ///< frontend.
> >
> > Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)
> > +++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Thu Dec 22 18:23:01 2016
> > @@ -284,19 +284,14 @@ static void addSymbolRewriterPass(const
> >
> >  void EmitAssemblyHelper::CreatePasses(legacy::PassManager &MPM,
> >                                        legacy::FunctionPassManager &FPM)
> {
> > +  // Handle disabling of all LLVM passes, where we want to preserve the
> > +  // internal module before any optimization.
> >    if (CodeGenOpts.DisableLLVMPasses)
> >      return;
> >
> >    unsigned OptLevel = CodeGenOpts.OptimizationLevel;
> >    CodeGenOptions::InliningMethod Inlining = CodeGenOpts.getInlining();
> >
> > -  // Handle disabling of LLVM optimization, where we want to preserve
> the
> > -  // internal module before any optimization.
> > -  if (CodeGenOpts.DisableLLVMOpts) {
> > -    OptLevel = 0;
> > -    Inlining = CodeGenOpts.NoInlining;
> > -  }
> > -
> >    PassManagerBuilderWrapper PMBuilder(CodeGenOpts, LangOpts);
> >
> >    // Figure out TargetLibraryInfo.  This needs to be added to MPM and
> FPM
> >
> > Modified: cfe/trunk/lib/Driver/Tools.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/lib/Driver/Tools.cpp (original)
> > +++ cfe/trunk/lib/Driver/Tools.cpp Thu Dec 22 18:23:01 2016
> > @@ -4221,7 +4221,7 @@ void Clang::ConstructJob(Compilation &C,
> >      // Add flags implied by -fembed-bitcode.
> >      Args.AddLastArg(CmdArgs, options::OPT_fembed_bitcode_EQ);
> >      // Disable all llvm IR level optimizations.
> > -    CmdArgs.push_back("-disable-llvm-optzns");
> > +    CmdArgs.push_back("-disable-llvm-passes");
> >    }
> >    if (C.getDriver().embedBitcodeMarkerOnly())
> >      CmdArgs.push_back("-fembed-bitcode=marker");
> > @@ -6385,8 +6385,8 @@ void Clang::ConstructJob(Compilation &C,
> >
> >      // We translate this by hand to the -cc1 argument, since nightly
> test uses
> >      // it and developers have been trained to spell it with -mllvm.
> > -    if (StringRef(A->getValue(0)) == "-disable-llvm-optzns") {
> > -      CmdArgs.push_back("-disable-llvm-optzns");
> > +    if (StringRef(A->getValue(0)) == "-disable-llvm-passes") {
> > +      CmdArgs.push_back("-disable-llvm-passes");
>
> This isn't quite right, it should either be left as-is or dropped
> completely. This path was allowing people to spell "-mllvm
> -disable-llvm-optzns" for legacy reasons, even though the correct
> spelling is "-Xclang -disable-llvm-optzns". There's no need to add
> legacy support for "-mllvm -disable-llvm-passes", since that never
> worked.
>

Yeah, I don't think this was even really intended.

r291850+r291853 fix this to preserve -disable-llvm-optzns exactly as it was.

I've alse followed up with Hans to make sure LLVM 4 gets this.


>
> >      } else
> >        A->render(Args, CmdArgs);
> >    }
> >
> > Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)
> > +++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Thu Dec 22 18:23:01
> 2016
> > @@ -513,7 +513,6 @@ static bool ParseCodeGenArgs(CodeGenOpti
> >            Args.getLastArg(OPT_emit_llvm_uselists,
> OPT_no_emit_llvm_uselists))
> >      Opts.EmitLLVMUseLists = A->getOption().getID() ==
> OPT_emit_llvm_uselists;
> >
> > -  Opts.DisableLLVMOpts = Args.hasArg(OPT_disable_llvm_optzns);
> >    Opts.DisableLLVMPasses = Args.hasArg(OPT_disable_llvm_passes);
> >    Opts.DisableRedZone = Args.hasArg(OPT_disable_red_zone);
> >    Opts.ForbidGuardVariables = Args.hasArg(OPT_fforbid_guard_variables);
> >
> > Modified: cfe/trunk/test/CXX/drs/dr158.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/drs/dr158.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CXX/drs/dr158.cpp (original)
> > +++ cfe/trunk/test/CXX/drs/dr158.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,7 +1,7 @@
> > -// RUN: %clang_cc1 -triple x86_64-linux -std=c++98 %s -O3
> -disable-llvm-optzns -pedantic-errors -emit-llvm -o - | FileCheck %s
> > -// RUN: %clang_cc1 -triple x86_64-linux -std=c++11 %s -O3
> -disable-llvm-optzns -pedantic-errors -emit-llvm -o - | FileCheck %s
> > -// RUN: %clang_cc1 -triple x86_64-linux -std=c++14 %s -O3
> -disable-llvm-optzns -pedantic-errors -emit-llvm -o - | FileCheck %s
> > -// RUN: %clang_cc1 -triple x86_64-linux -std=c++1z %s -O3
> -disable-llvm-optzns -pedantic-errors -emit-llvm -o - | FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-linux -std=c++98 %s -O3
> -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-linux -std=c++11 %s -O3
> -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-linux -std=c++14 %s -O3
> -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-linux -std=c++1z %s -O3
> -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
> >
> >  // dr158: yes
> >
> >
> > Modified: cfe/trunk/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp
> (original)
> > +++ cfe/trunk/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp Thu
> Dec 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-optzns
> -emit-llvm -std=c++11 -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-passes
> -emit-llvm -std=c++11 -o - %s | FileCheck %s
> >
> >  template<typename T>
> >  struct X0 {
> >
> > Modified: cfe/trunk/test/CodeGen/always_inline.c
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/always_inline.c?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/always_inline.c (original)
> > +++ cfe/trunk/test/CodeGen/always_inline.c Thu Dec 22 18:23:01 2016
> > @@ -1,7 +1,7 @@
> >  // RUN: %clang -emit-llvm -S -o %t %s
> >  // RUN: not grep '@f0' %t
> >  // RUN: not grep 'call ' %t
> > -// RUN: %clang -mllvm -disable-llvm-optzns -emit-llvm -S -o %t %s
> > +// RUN: %clang -mllvm -disable-llvm-passes -emit-llvm -S -o %t %s
> >  // RUN: grep '@f0' %t | count 2
> >
> >  //static int f0() {
> >
> > Modified: cfe/trunk/test/CodeGen/attr-minsize.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/attr-minsize.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/attr-minsize.cpp (original)
> > +++ cfe/trunk/test/CodeGen/attr-minsize.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,9 +1,9 @@
> > -// RUN: %clang_cc1 -Oz -disable-llvm-optzns -emit-llvm %s -o - |
> FileCheck %s -check-prefix=Oz
> > -// RUN: %clang_cc1     -disable-llvm-optzns -emit-llvm %s -o - |
> FileCheck %s -check-prefix=OTHER
> > -// RUN: %clang_cc1 -O1 -disable-llvm-optzns -emit-llvm %s -o - |
> FileCheck %s -check-prefix=OTHER
> > -// RUN: %clang_cc1 -O2 -disable-llvm-optzns -emit-llvm %s -o - |
> FileCheck %s -check-prefix=OTHER
> > -// RUN: %clang_cc1 -O3 -disable-llvm-optzns -emit-llvm %s -o - |
> FileCheck %s -check-prefix=OTHER
> > -// RUN: %clang_cc1 -Os -disable-llvm-optzns -emit-llvm %s -o - |
> FileCheck %s -check-prefix=OTHER
> > +// RUN: %clang_cc1 -Oz -disable-llvm-passes -emit-llvm %s -o - |
> FileCheck %s -check-prefix=Oz
> > +// RUN: %clang_cc1     -disable-llvm-passes -emit-llvm %s -o - |
> FileCheck %s -check-prefix=OTHER
> > +// RUN: %clang_cc1 -O1 -disable-llvm-passes -emit-llvm %s -o - |
> FileCheck %s -check-prefix=OTHER
> > +// RUN: %clang_cc1 -O2 -disable-llvm-passes -emit-llvm %s -o - |
> FileCheck %s -check-prefix=OTHER
> > +// RUN: %clang_cc1 -O3 -disable-llvm-passes -emit-llvm %s -o - |
> FileCheck %s -check-prefix=OTHER
> > +// RUN: %clang_cc1 -Os -disable-llvm-passes -emit-llvm %s -o - |
> FileCheck %s -check-prefix=OTHER
> >  // Check that we set the minsize attribute on each function
> >  // when Oz optimization level is set.
> >
> >
> > Modified: cfe/trunk/test/CodeGen/bool_test.c
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/bool_test.c?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/bool_test.c (original)
> > +++ cfe/trunk/test/CodeGen/bool_test.c Thu Dec 22 18:23:01 2016
> > @@ -1,5 +1,5 @@
> >  // REQUIRES: powerpc-registered-target
> > -// RUN: %clang_cc1 -triple powerpc-apple-macosx10.4.0 -emit-llvm -o -
> %s -O2 -disable-llvm-optzns | FileCheck %s
> > +// RUN: %clang_cc1 -triple powerpc-apple-macosx10.4.0 -emit-llvm -o -
> %s -O2 -disable-llvm-passes | FileCheck %s
> >
> >  int boolsize = sizeof(_Bool);
> >  // CHECK: boolsize = global i32 4, align 4
> >
> > Modified: cfe/trunk/test/CodeGen/builtin-expect.c
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtin-expect.c?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/builtin-expect.c (original)
> > +++ cfe/trunk/test/CodeGen/builtin-expect.c Thu Dec 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s
> -O1 -disable-llvm-optzns | FileCheck %s --check-prefix=ALL --check-prefix=O1
> > +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s
> -O1 -disable-llvm-passes | FileCheck %s --check-prefix=ALL --check-prefix=O1
> >  // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s
> -O0 | FileCheck %s --check-prefix=ALL --check-prefix=O0
> >
> >  // In all tests, make sure that no expect is generated if optimizations
> are off.
> >
> > Modified: cfe/trunk/test/CodeGen/builtin-unpredictable.c
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtin-unpredictable.c?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/builtin-unpredictable.c (original)
> > +++ cfe/trunk/test/CodeGen/builtin-unpredictable.c Thu Dec 22 18:23:01
> 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm
> -disable-llvm-optzns -o - %s -O1 | FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm
> -disable-llvm-passes -o - %s -O1 | FileCheck %s
> >  // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s
> -O0 | FileCheck %s --check-prefix=CHECK_O0
> >
> >  // When optimizing, the builtin should be converted to metadata.
> >
> > Modified: cfe/trunk/test/CodeGen/fixup-depth-overflow.c
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/fixup-depth-overflow.c?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/fixup-depth-overflow.c (original)
> > +++ cfe/trunk/test/CodeGen/fixup-depth-overflow.c Thu Dec 22 18:23:01
> 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -O1 -disable-llvm-optzns -emit-llvm -o - %s |
> FileCheck %s
> > +// RUN: %clang_cc1 -O1 -disable-llvm-passes -emit-llvm -o - %s |
> FileCheck %s
> >
> >  #define M if (x) goto L1;
> >  #define M10 M M M M M M M M M M
> >
> > Modified: cfe/trunk/test/CodeGen/function-attributes.c
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/function-attributes.c?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/function-attributes.c (original)
> > +++ cfe/trunk/test/CodeGen/function-attributes.c Thu Dec 22 18:23:01 2016
> > @@ -1,5 +1,5 @@
> > -// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm
> -disable-llvm-optzns -Os -o - %s | FileCheck %s
> > -// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm
> -disable-llvm-optzns -Os -std=c99 -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm
> -disable-llvm-passes -Os -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm
> -disable-llvm-passes -Os -std=c99 -o - %s | FileCheck %s
> >  // CHECK: define signext i8 @f0(i32 %x) [[NUW:#[0-9]+]]
> >  // CHECK: define zeroext i8 @f1(i32 %x) [[NUW]]
> >  // CHECK: define void @f2(i8 signext %x) [[NUW]]
> >
> > Modified: cfe/trunk/test/CodeGen/inline.c
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/inline.c?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/inline.c (original)
> > +++ cfe/trunk/test/CodeGen/inline.c Thu Dec 22 18:23:01 2016
> > @@ -1,5 +1,5 @@
> >  // RUN: echo "GNU89 tests:"
> > -// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O1
> -disable-llvm-optzns -emit-llvm -o - -std=gnu89 | FileCheck %s
> --check-prefix=CHECK1
> > +// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O1
> -disable-llvm-passes -emit-llvm -o - -std=gnu89 | FileCheck %s
> --check-prefix=CHECK1
> >  // CHECK1-LABEL: define i32 @foo()
> >  // CHECK1-LABEL: define i32 @bar()
> >  // CHECK1-LABEL: define void @unreferenced1()
> > @@ -21,7 +21,7 @@
> >  // CHECK1-LABEL: define available_externally void @gnu_ei_inline()
> >
> >  // RUN: echo "C99 tests:"
> > -// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O1
> -disable-llvm-optzns -emit-llvm -o - -std=gnu99 | FileCheck %s
> --check-prefix=CHECK2
> > +// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O1
> -disable-llvm-passes -emit-llvm -o - -std=gnu99 | FileCheck %s
> --check-prefix=CHECK2
> >  // CHECK2-LABEL: define i32 @ei()
> >  // CHECK2-LABEL: define i32 @bar()
> >  // CHECK2-NOT: unreferenced1
> > @@ -43,7 +43,7 @@
> >  // CHECK2-LABEL: define available_externally void @gnu_ei_inline()
> >
> >  // RUN: echo "C++ tests:"
> > -// RUN: %clang_cc1 -x c++ %s -triple i386-unknown-unknown -O1
> -disable-llvm-optzns -emit-llvm -o - -std=c++98 | FileCheck %s
> --check-prefix=CHECK3
> > +// RUN: %clang_cc1 -x c++ %s -triple i386-unknown-unknown -O1
> -disable-llvm-passes -emit-llvm -o - -std=c++98 | FileCheck %s
> --check-prefix=CHECK3
> >  // CHECK3-LABEL: define i32 @_Z3barv()
> >  // CHECK3-LABEL: define linkonce_odr i32 @_Z3foov()
> >  // CHECK3-NOT: unreferenced
> > @@ -53,7 +53,7 @@
> >  // CHECK3-LABEL: define linkonce_odr i32 @_Z2eiv()
> >
> >  // RUN: echo "MS C Mode tests:"
> > -// RUN: %clang_cc1 %s -triple i386-pc-win32 -O1 -disable-llvm-optzns
> -emit-llvm -o - -std=c99 | FileCheck %s --check-prefix=CHECK4
> > +// RUN: %clang_cc1 %s -triple i386-pc-win32 -O1 -disable-llvm-passes
> -emit-llvm -o - -std=c99 | FileCheck %s --check-prefix=CHECK4
> >  // CHECK4-NOT: define weak_odr void @_Exit(
> >  // CHECK4-LABEL: define weak_odr i32 @ei()
> >  // CHECK4-LABEL: define i32 @bar()
> >
> > Modified: cfe/trunk/test/CodeGen/may-alias.c
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/may-alias.c?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/may-alias.c (original)
> > +++ cfe/trunk/test/CodeGen/may-alias.c Thu Dec 22 18:23:01 2016
> > @@ -1,5 +1,5 @@
> > -// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1
> -no-struct-path-tbaa -disable-llvm-optzns -o - %s | FileCheck %s
> > -// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1
> -disable-llvm-optzns -o - %s | FileCheck %s -check-prefix=PATH
> > +// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1
> -no-struct-path-tbaa -disable-llvm-passes -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1
> -disable-llvm-passes -o - %s | FileCheck %s -check-prefix=PATH
> >
> >  // Types with the may_alias attribute should be considered equivalent
> >  // to char for aliasing.
> >
> > Modified: cfe/trunk/test/CodeGen/tbaa-class.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/tbaa-class.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/tbaa-class.cpp (original)
> > +++ cfe/trunk/test/CodeGen/tbaa-class.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,5 +1,5 @@
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa
> -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-optzns
> %s -emit-llvm -o - | FileCheck %s -check-prefix=PATH
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa
> -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-passes
> %s -emit-llvm -o - | FileCheck %s -check-prefix=PATH
> >  // Test TBAA metadata generated by front-end.
> >
> >  typedef unsigned char uint8_t;
> >
> > Modified: cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp (original)
> > +++ cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple i686-pc-win32 -disable-llvm-optzns
> -emit-llvm -o - -O1 %s | FileCheck %s
> > +// RUN: %clang_cc1 -triple i686-pc-win32 -disable-llvm-passes
> -emit-llvm -o - -O1 %s | FileCheck %s
> >  //
> >  // Test that TBAA works in the Microsoft C++ ABI.  We used to error out
> while
> >  // attempting to mangle RTTI.
> >
> > Modified: cfe/trunk/test/CodeGen/tbaa.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/tbaa.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGen/tbaa.cpp (original)
> > +++ cfe/trunk/test/CodeGen/tbaa.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,7 +1,7 @@
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa
> -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-optzns
> %s -emit-llvm -o - | FileCheck %s -check-prefix=PATH
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O0 -disable-llvm-optzns
> %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-TBAA
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -relaxed-aliasing
> -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-TBAA
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa
> -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-passes
> %s -emit-llvm -o - | FileCheck %s -check-prefix=PATH
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O0 -disable-llvm-passes
> %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-TBAA
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -relaxed-aliasing
> -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-TBAA
> >  // Test TBAA metadata generated by front-end.
> >  //
> >  // NO-TBAA-NOT: !tbaa
> >
> > Modified: cfe/trunk/test/CodeGenCXX/PR26569.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/PR26569.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/PR26569.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/PR26569.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -emit-llvm -O1
> -disable-llvm-optzns %s -o - | FileCheck %s
> > +// RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -emit-llvm -O1
> -disable-llvm-passes %s -o - | FileCheck %s
> >
> >  class __declspec(dllimport) A {
> >    virtual void m_fn1();
> >
> > Modified: cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp Thu Dec 22 18:23:01
> 2016
> > @@ -1,6 +1,6 @@
> >  // RUN: %clang_cc1 %s -triple i686-linux -emit-llvm -o -
> -mconstructor-aliases | FileCheck --check-prefix=NOOPT %s
> >
> > -// RUN: %clang_cc1 %s -triple i686-linux -emit-llvm -o -
> -mconstructor-aliases -O1 -disable-llvm-optzns > %t
> > +// RUN: %clang_cc1 %s -triple i686-linux -emit-llvm -o -
> -mconstructor-aliases -O1 -disable-llvm-passes > %t
> >  // RUN: FileCheck --check-prefix=CHECK1 --input-file=%t %s
> >  // RUN: FileCheck --check-prefix=CHECK2 --input-file=%t %s
> >  // RUN: FileCheck --check-prefix=CHECK3 --input-file=%t %s
> > @@ -8,7 +8,7 @@
> >  // RUN: FileCheck --check-prefix=CHECK5 --input-file=%t %s
> >  // RUN: FileCheck --check-prefix=CHECK6 --input-file=%t %s
> >
> > -// RUN: %clang_cc1 %s -triple i686-pc-windows-gnu -emit-llvm -o -
> -mconstructor-aliases -O1 -disable-llvm-optzns | FileCheck
> --check-prefix=COFF %s
> > +// RUN: %clang_cc1 %s -triple i686-pc-windows-gnu -emit-llvm -o -
> -mconstructor-aliases -O1 -disable-llvm-passes | FileCheck
> --check-prefix=COFF %s
> >
> >  namespace test1 {
> >  // Test that we produce the apropriate comdats when creating aliases to
> >
> > Modified: cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
> (original)
> > +++ cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp Thu
> Dec 22 18:23:01 2016
> > @@ -1,5 +1,5 @@
> > -// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm
> -std=c++1y -O1 -disable-llvm-optzns %s -o - | FileCheck %s
> -check-prefix=CHECKA -check-prefix=CHECK
> > -// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm
> -std=c++1y -O1 -disable-llvm-optzns -fcxx-exceptions %s -o - | FileCheck %s
> -check-prefix=CHECKB -check-prefix=CHECK
> > +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm
> -std=c++1y -O1 -disable-llvm-passes %s -o - | FileCheck %s
> -check-prefix=CHECKA -check-prefix=CHECK
> > +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm
> -std=c++1y -O1 -disable-llvm-passes -fcxx-exceptions %s -o - | FileCheck %s
> -check-prefix=CHECKB -check-prefix=CHECK
> >  // expected-no-diagnostics
> >
> >  // The variable template specialization x<Foo> generated in each file
> >
> > Modified: cfe/trunk/test/CodeGenCXX/destructors.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/destructors.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/destructors.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/destructors.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,10 +1,10 @@
> > -// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -emit-llvm -o -
> -mconstructor-aliases -fcxx-exceptions -fexceptions -O1
> -disable-llvm-optzns -std=c++03 > %t
> > +// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -emit-llvm -o -
> -mconstructor-aliases -fcxx-exceptions -fexceptions -O1
> -disable-llvm-passes -std=c++03 > %t
> >  // RUN: FileCheck --check-prefix=CHECK1 --input-file=%t %s
> >  // RUN: FileCheck --check-prefix=CHECK2 --input-file=%t %s
> >  // RUN: FileCheck --check-prefix=CHECK3 --input-file=%t %s
> >  // RUN: FileCheck --check-prefixes=CHECK4,CHECK4v03 --input-file=%t %s
> >  // RUN: FileCheck --check-prefixes=CHECK5,CHECK5v03 --input-file=%t %s
> > -// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -emit-llvm -o -
> -mconstructor-aliases -fcxx-exceptions -fexceptions -O1
> -disable-llvm-optzns -std=c++11 > %t2
> > +// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -emit-llvm -o -
> -mconstructor-aliases -fcxx-exceptions -fexceptions -O1
> -disable-llvm-passes -std=c++11 > %t2
> >  // RUN: FileCheck --check-prefix=CHECK1    --input-file=%t2 %s
> >  // RUN: FileCheck --check-prefix=CHECK2v11 --input-file=%t2 %s
> >  // RUN: FileCheck --check-prefix=CHECK3    --input-file=%t2 %s
> >
> > Modified: cfe/trunk/test/CodeGenCXX/dllexport.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllexport.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/dllexport.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/dllexport.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,5 +1,5 @@
> > -// RUN: %clang_cc1 -triple i686-windows-msvc   -emit-llvm -std=c++1y
> -fno-threadsafe-statics -fms-extensions -O1 -mconstructor-aliases
> -disable-llvm-optzns -o - %s -w -fms-compatibility-version=19.00 |
> FileCheck --check-prefix=MSC --check-prefix=M32 -check-prefix=MSVC2015
> -check-prefix=M32MSVC2015 %s
> > -// RUN: %clang_cc1 -triple i686-windows-msvc   -emit-llvm -std=c++1y
> -fno-threadsafe-statics -fms-extensions -O1 -mconstructor-aliases
> -disable-llvm-optzns -o - %s -w -fms-compatibility-version=18.00 |
> FileCheck --check-prefix=MSC --check-prefix=M32 -check-prefix=MSVC2013
> -check-prefix=M32MSVC2013 %s
> > +// RUN: %clang_cc1 -triple i686-windows-msvc   -emit-llvm -std=c++1y
> -fno-threadsafe-statics -fms-extensions -O1 -mconstructor-aliases
> -disable-llvm-passes -o - %s -w -fms-compatibility-version=19.00 |
> FileCheck --check-prefix=MSC --check-prefix=M32 -check-prefix=MSVC2015
> -check-prefix=M32MSVC2015 %s
> > +// RUN: %clang_cc1 -triple i686-windows-msvc   -emit-llvm -std=c++1y
> -fno-threadsafe-statics -fms-extensions -O1 -mconstructor-aliases
> -disable-llvm-passes -o - %s -w -fms-compatibility-version=18.00 |
> FileCheck --check-prefix=MSC --check-prefix=M32 -check-prefix=MSVC2013
> -check-prefix=M32MSVC2013 %s
> >
> >  // RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -std=c++1y
> -fno-threadsafe-statics -fms-extensions -O0 -o - %s -w
> -fms-compatibility-version=19.00 | FileCheck --check-prefix=MSC
> --check-prefix=M64 -check-prefix=MSVC2015 -check-prefix=M64MSVC2015 %s
> >  // RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -std=c++1y
> -fno-threadsafe-statics -fms-extensions -O0 -o - %s -w
> -fms-compatibility-version=18.00 | FileCheck --check-prefix=MSC
> --check-prefix=M64 -check-prefix=MSVC2013 -check-prefix=M64MSVC2013 %s
> >
> > Modified: cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,5 +1,5 @@
> > -// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c++1y
> -fms-extensions -O1 -disable-llvm-optzns -o - %s | FileCheck %s
> --check-prefix=MSVC
> > -// RUN: %clang_cc1 -triple i686-windows-gnu  -emit-llvm -std=c++1y
> -fms-extensions -O1 -disable-llvm-optzns -o - %s | FileCheck %s
> --check-prefix=GNU
> > +// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c++1y
> -fms-extensions -O1 -disable-llvm-passes -o - %s | FileCheck %s
> --check-prefix=MSVC
> > +// RUN: %clang_cc1 -triple i686-windows-gnu  -emit-llvm -std=c++1y
> -fms-extensions -O1 -disable-llvm-passes -o - %s | FileCheck %s
> --check-prefix=GNU
> >
> >  struct __declspec(dllimport) S {
> >    virtual void f() {}
> >
> > Modified: cfe/trunk/test/CodeGenCXX/dllimport.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllimport.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/dllimport.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/dllimport.cpp Thu Dec 22 18:23:01 2016
> > @@ -2,8 +2,8 @@
> >  // RUN: %clang_cc1 -triple x86_64-windows-msvc -fno-rtti
> -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s
> -DMSABI -w | FileCheck --check-prefix=MSC --check-prefix=M64 %s
> >  // RUN: %clang_cc1 -triple i686-windows-gnu    -fno-rtti
> -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s
>        -w | FileCheck --check-prefix=GNU --check-prefix=G32 %s
> >  // RUN: %clang_cc1 -triple x86_64-windows-gnu  -fno-rtti
> -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s
>        -w | FileCheck --check-prefix=GNU --check-prefix=G64 %s
> > -// RUN: %clang_cc1 -triple i686-windows-msvc   -fno-rtti
> -fno-threadsafe-statics -fms-extensions -fms-compatibility-version=18.00
> -emit-llvm -std=c++1y -O1 -disable-llvm-optzns -o - %s -DMSABI -w |
> FileCheck --check-prefix=MO1 --check-prefix=M18 %s
> > -// RUN: %clang_cc1 -triple i686-windows-msvc   -fno-rtti
> -fno-threadsafe-statics -fms-extensions -fms-compatibility-version=19.00
> -emit-llvm -std=c++1y -O1 -disable-llvm-optzns -o - %s -DMSABI -w |
> FileCheck --check-prefix=MO1 --check-prefix=M19 %s
> > +// RUN: %clang_cc1 -triple i686-windows-msvc   -fno-rtti
> -fno-threadsafe-statics -fms-extensions -fms-compatibility-version=18.00
> -emit-llvm -std=c++1y -O1 -disable-llvm-passes -o - %s -DMSABI -w |
> FileCheck --check-prefix=MO1 --check-prefix=M18 %s
> > +// RUN: %clang_cc1 -triple i686-windows-msvc   -fno-rtti
> -fno-threadsafe-statics -fms-extensions -fms-compatibility-version=19.00
> -emit-llvm -std=c++1y -O1 -disable-llvm-passes -o - %s -DMSABI -w |
> FileCheck --check-prefix=MO1 --check-prefix=M19 %s
> >  // RUN: %clang_cc1 -triple i686-windows-gnu    -fno-rtti
> -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O1 -o - %s
>        -w | FileCheck --check-prefix=GO1 %s
> >
> >  // CHECK-NOT doesn't play nice with CHECK-DAG, so use separate run
> lines.
> >
> > Modified: cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp Thu Dec 22 18:23:01 2016
> > @@ -2,7 +2,7 @@
> >  // RUN:         -o - -mconstructor-aliases -fcxx-exceptions
> -fexceptions | \
> >  // RUN:         FileCheck %s --check-prefix=CHECK --check-prefix=CXXEH
> >  // RUN: %clang_cc1 -std=c++11 -fblocks -fms-extensions %s
> -triple=x86_64-windows-msvc -emit-llvm \
> > -// RUN:         -o - -mconstructor-aliases -O1 -disable-llvm-optzns | \
> > +// RUN:         -o - -mconstructor-aliases -O1 -disable-llvm-passes | \
> >  // RUN:         FileCheck %s --check-prefix=CHECK --check-prefix=NOCXX
> >
> >  extern "C" unsigned long _exception_code();
> >
> > Modified: cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,5 +1,5 @@
> >  // RUN: %clang_cc1 -emit-llvm -triple i686-pc-linux-gnu -std=c++1y -o -
> %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NO-OPT
> > -// RUN: %clang_cc1 -emit-llvm -triple i686-pc-linux-gnu -std=c++1y -O3
> -disable-llvm-optzns -o - %s | FileCheck %s --check-prefix=CHECK
> --check-prefix=CHECK-OPT
> > +// RUN: %clang_cc1 -emit-llvm -triple i686-pc-linux-gnu -std=c++1y -O3
> -disable-llvm-passes -o - %s | FileCheck %s --check-prefix=CHECK
> --check-prefix=CHECK-OPT
> >  // RUN: %clang_cc1 -emit-llvm -triple i686-pc-win32 -std=c++1y -o - %s
> | FileCheck %s --check-prefix=CHECK-MS
> >
> >  // This check logically is attached to 'template int S<int>::i;' below.
> >
> > Modified: cfe/trunk/test/CodeGenCXX/inline-hint.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/inline-hint.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/inline-hint.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/inline-hint.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,6 +1,6 @@
> > -// RUN: %clang_cc1 %s -std=c++11 -triple=x86_64-linux
> -finline-functions -emit-llvm -disable-llvm-optzns -o - | FileCheck %s
> --check-prefix=CHECK --check-prefix=SUITABLE
> > -// RUN: %clang_cc1 %s -std=c++11 -triple=x86_64-linux
> -finline-hint-functions -emit-llvm -disable-llvm-optzns -o - | FileCheck %s
> --check-prefix=CHECK --check-prefix=HINTED
> > -// RUN: %clang_cc1 %s -std=c++11 -triple=x86_64-linux -fno-inline
> -emit-llvm -disable-llvm-optzns -o - | FileCheck %s --check-prefix=CHECK
> --check-prefix=NOINLINE
> > +// RUN: %clang_cc1 %s -std=c++11 -triple=x86_64-linux
> -finline-functions -emit-llvm -disable-llvm-passes -o - | FileCheck %s
> --check-prefix=CHECK --check-prefix=SUITABLE
> > +// RUN: %clang_cc1 %s -std=c++11 -triple=x86_64-linux
> -finline-hint-functions -emit-llvm -disable-llvm-passes -o - | FileCheck %s
> --check-prefix=CHECK --check-prefix=HINTED
> > +// RUN: %clang_cc1 %s -std=c++11 -triple=x86_64-linux -fno-inline
> -emit-llvm -disable-llvm-passes -o - | FileCheck %s --check-prefix=CHECK
> --check-prefix=NOINLINE
> >
> >  // Force non-trivial implicit constructors/destructors/operators for B
> by having explicit ones for A
> >  struct A {
> >
> > Modified: cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -emit-llvm %s
> -fstrict-vtable-pointers -O1 -o - -disable-llvm-optzns | FileCheck %s
> > +// RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -emit-llvm %s
> -fstrict-vtable-pointers -O1 -o - -disable-llvm-passes | FileCheck %s
> >
> >  struct A {
> >    virtual void foo();
> >
> > Modified: cfe/trunk/test/CodeGenCXX/linkage.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/linkage.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/linkage.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/linkage.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -std=c++11
> -O1 -disable-llvm-optzns %s -o - | FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -std=c++11
> -O1 -disable-llvm-passes %s -o - | FileCheck %s
> >
> >  namespace test1 {
> >    // CHECK-DAG: define linkonce_odr void @_ZN5test11fIZNS_1gEvE1SEEvT_(
> >
> > Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,6 +1,6 @@
> >  // RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o -
> -triple=x86_64-pc-windows-msvc \
> >  // RUN:     -mconstructor-aliases -fexceptions -fcxx-exceptions \
> > -// RUN:     -O1 -disable-llvm-optzns \
> > +// RUN:     -O1 -disable-llvm-passes \
> >  // RUN:     | FileCheck -check-prefix WIN64 %s
> >
> >  extern "C" void might_throw();
> >
> > Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,5 +1,5 @@
> >  // RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o - -triple=i386-pc-win32
> -mconstructor-aliases -fexceptions -fcxx-exceptions -fno-rtti | FileCheck
> -check-prefix WIN32 -check-prefix WIN32-O0 %s
> > -// RUN: %clang_cc1 -std=c++11 -emit-llvm -O3 -disable-llvm-optzns %s -o
> - -triple=i386-pc-win32 -mconstructor-aliases -fexceptions -fcxx-exceptions
> -fno-rtti | FileCheck -check-prefix WIN32 -check-prefix WIN32-O3
> -check-prefix WIN32-LIFETIME %s
> > +// RUN: %clang_cc1 -std=c++11 -emit-llvm -O3 -disable-llvm-passes %s -o
> - -triple=i386-pc-win32 -mconstructor-aliases -fexceptions -fcxx-exceptions
> -fno-rtti | FileCheck -check-prefix WIN32 -check-prefix WIN32-O3
> -check-prefix WIN32-LIFETIME %s
> >
> >  struct A {
> >    A();
> >
> > Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp
> (original)
> > +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp Thu Dec
> 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -fno-rtti-data -O1 -disable-llvm-optzns %s
> -emit-llvm -o - -triple x86_64-windows-msvc | FileCheck %s
> > +// RUN: %clang_cc1 -fno-rtti-data -O1 -disable-llvm-passes %s
> -emit-llvm -o - -triple x86_64-windows-msvc | FileCheck %s
> >
> >  // Even though Foo<int> has an extern template declaration, we have to
> emit our
> >  // own copy the vftable when emitting the available externally
> constructor.
> >
> > Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp
> (original)
> > +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp Thu Dec
> 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -emit-llvm %s -o - -triple=i386-pc-win32 -fno-rtti
> -mconstructor-aliases -O1 -disable-llvm-optzns | FileCheck %s
> > +// RUN: %clang_cc1 -emit-llvm %s -o - -triple=i386-pc-win32 -fno-rtti
> -mconstructor-aliases -O1 -disable-llvm-passes | FileCheck %s
> >
> >  namespace test1 {
> >  template <typename T> class A {
> >
> > Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,5 +1,5 @@
> > -// RUN: %clang_cc1 %s -fno-rtti -triple=i386-pc-win32 -fms-extensions
> -emit-llvm -o - -O1 -disable-llvm-optzns | FileCheck %s
> -check-prefix=NO-RTTI
> > -// RUN: %clang_cc1 %s -triple=i386-pc-win32 -fms-extensions -emit-llvm
> -o - -O1 -disable-llvm-optzns | FileCheck %s -check-prefix=RTTI
> > +// RUN: %clang_cc1 %s -fno-rtti -triple=i386-pc-win32 -fms-extensions
> -emit-llvm -o - -O1 -disable-llvm-passes | FileCheck %s
> -check-prefix=NO-RTTI
> > +// RUN: %clang_cc1 %s -triple=i386-pc-win32 -fms-extensions -emit-llvm
> -o - -O1 -disable-llvm-passes | FileCheck %s -check-prefix=RTTI
> >
> >  // RTTI-DAG: $"\01??_7S@@6B@" = comdat largest
> >  // RTTI-DAG: $"\01??_7V@@6B@" = comdat largest
> >
> > Modified: cfe/trunk/test/CodeGenCXX/pr24097.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/pr24097.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/pr24097.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/pr24097.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 %s -triple=x86_64-pc-linux -fvisibility hidden
> -emit-llvm -O1 -disable-llvm-optzns -o - | FileCheck %s
> > +// RUN: %clang_cc1 %s -triple=x86_64-pc-linux -fvisibility hidden
> -emit-llvm -O1 -disable-llvm-passes -o - | FileCheck %s
> >
> >  struct Filter {
> >    virtual void Foo();
> >
> > Modified: cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,6 +1,6 @@
> >  // Test -fsanitize-memory-use-after-dtor
> > -// RUN: %clang_cc1 -O0 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > -// RUN: %clang_cc1 -O1 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -O0 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-passes -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -O1 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-passes -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> >
> >  // 24 bytes total
> >  struct Packed {
> >
> > Modified: cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,5 +1,5 @@
> > -// RUN: %clang_cc1 -fsanitize=memory -fsanitize-memory-use-after-dtor
> -disable-llvm-optzns -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s
> | FileCheck %s
> > -// RUN: %clang_cc1 -O1 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -fsanitize=memory -fsanitize-memory-use-after-dtor
> -disable-llvm-passes -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s
> | FileCheck %s
> > +// RUN: %clang_cc1 -O1 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-passes -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> >
> >  // Base dtor poisons members
> >  // Complete dtor poisons vtable ptr after destroying members and
> >
> > Modified: cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,6 +1,6 @@
> >  // Test -fsanitize-memory-use-after-dtor
> > -// RUN: %clang_cc1 -fsanitize=memory -fsanitize-memory-use-after-dtor
> -disable-llvm-optzns -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s
> | FileCheck %s
> > -// RUN: %clang_cc1 -O1 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -fsanitize=memory -fsanitize-memory-use-after-dtor
> -disable-llvm-passes -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s
> | FileCheck %s
> > +// RUN: %clang_cc1 -O1 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-passes -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> >
> >  struct Simple {
> >    int x_;
> >
> > Modified: cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,6 +1,6 @@
> >  // Test -fsanitize-memory-use-after-dtor
> > -// RUN: %clang_cc1 -O0 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > -// RUN: %clang_cc1 -O1 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -O0 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-passes -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -O1 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-passes -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> >
> >  // TODO Success pending on resolution of issue:
> >  //    https://github.com/google/sanitizers/issues/596
> >
> > Modified: cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,5 +1,5 @@
> > -// RUN: %clang_cc1 -O0 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > -// RUN: %clang_cc1 -O1 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -O0 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-passes -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -O1 -fsanitize=memory
> -fsanitize-memory-use-after-dtor -disable-llvm-passes -std=c++11
> -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
> >
> >  class A {
> >   public:
> >
> > Modified: cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple armv7l-unknown-linux-gnueabihf -emit-llvm
> -O1 -disable-llvm-optzns -std=c++03 %s -o - | FileCheck %s
> > +// RUN: %clang_cc1 -triple armv7l-unknown-linux-gnueabihf -emit-llvm
> -O1 -disable-llvm-passes -std=c++03 %s -o - | FileCheck %s
> >
> >  // This test should not to generate
> llvm.lifetime.start/llvm.lifetime.end for
> >  // f function because all temporary objects in this function are used
> for the
> >
> > Modified: cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10
> -fstrict-vtable-pointers -disable-llvm-optzns -O2 -emit-llvm -o %t.ll
> > +// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10
> -fstrict-vtable-pointers -disable-llvm-passes -O2 -emit-llvm -o %t.ll
> >  // RUN: FileCheck --check-prefix=CHECK-CTORS %s < %t.ll
> >  // RUN: FileCheck --check-prefix=CHECK-NEW %s < %t.ll
> >  // RUN: FileCheck --check-prefix=CHECK-DTORS %s < %t.ll
> >
> > Modified: cfe/trunk/test/CodeGenCXX/template-instantiation.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/template-instantiation.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/template-instantiation.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/template-instantiation.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 %s -O1 -disable-llvm-optzns
> -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
> > +// RUN: %clang_cc1 %s -O1 -disable-llvm-passes
> -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
> >
> >  // CHECK: @_ZN7PR100011xE = global
> >  // CHECK-NOT: @_ZN7PR100014kBarE = external global i32
> >
> > Modified: cfe/trunk/test/CodeGenCXX/thunks.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/thunks.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/thunks.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/thunks.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,5 +1,5 @@
> >  // RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables
> -emit-llvm -o %t
> > -// RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables
> -emit-llvm -o %t.opt -O1 -disable-llvm-optzns
> > +// RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables
> -emit-llvm -o %t.opt -O1 -disable-llvm-passes
> >  // RUN: FileCheck %s < %t
> >  // RUN: FileCheck %s < %t.opt
> >  // RUN: FileCheck --check-prefix=CHECK-NONOPT %s < %t
> >
> > Modified: cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10
> -mconstructor-aliases -O1 -disable-llvm-optzns | FileCheck %s
> > +// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10
> -mconstructor-aliases -O1 -disable-llvm-passes | FileCheck %s
> >
> >  struct Member {
> >    ~Member();
> >
> > Modified: cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple i386-unknown-unknown -std=c++11
> -fvisibility-inlines-hidden -emit-llvm -o - %s -O2 -disable-llvm-optzns |
> FileCheck %s
> > +// RUN: %clang_cc1 -triple i386-unknown-unknown -std=c++11
> -fvisibility-inlines-hidden -emit-llvm -o - %s -O2 -disable-llvm-passes |
> FileCheck %s
> >
> >  // The trickery with optimization in the run line is to get IR
> >  // generation to emit available_externally function bodies, but not
> >
> > Modified: cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp Thu Dec 22 18:23:01
> 2016
> > @@ -1,5 +1,5 @@
> > -// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -emit-llvm -o %t.ll
> -O1 -disable-llvm-optzns -fms-extensions -fstrict-vtable-pointers
> > -// RUN: %clang_cc1 %s -triple i686-pc-win32 -emit-llvm -o %t.ms.ll -O1
> -disable-llvm-optzns -fms-extensions -fstrict-vtable-pointers
> > +// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -emit-llvm -o %t.ll
> -O1 -disable-llvm-passes -fms-extensions -fstrict-vtable-pointers
> > +// RUN: %clang_cc1 %s -triple i686-pc-win32 -emit-llvm -o %t.ms.ll -O1
> -disable-llvm-passes -fms-extensions -fstrict-vtable-pointers
> >  // FIXME: Assume load should not require -fstrict-vtable-pointers
> >
> >  // RUN: FileCheck --check-prefix=CHECK1 --input-file=%t.ll %s
> >
> > Modified: cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp Thu Dec 22
> 18:23:01 2016
> > @@ -1,5 +1,5 @@
> >  // RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -emit-llvm -o
> %t
> > -// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -O2
> -disable-llvm-optzns -emit-llvm -o %t.opt
> > +// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -O2
> -disable-llvm-passes -emit-llvm -o %t.opt
> >  // RUN: FileCheck --check-prefix=CHECK-TEST1 %s < %t
> >  // RUN: FileCheck --check-prefix=CHECK-TEST2 %s < %t
> >  // RUN: FileCheck --check-prefix=CHECK-TEST5 %s < %t
> >
> > Modified: cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp Thu Dec 22 18:23:01 2016
> > @@ -1,7 +1,7 @@
> >  // RUN: %clang_cc1 %s -triple=x86_64-pc-linux -emit-llvm -o %t
> >  // RUN: %clang_cc1 %s -triple=x86_64-pc-linux -emit-llvm -std=c++03 -o
> %t.03
> >  // RUN: %clang_cc1 %s -triple=x86_64-pc-linux -emit-llvm -std=c++11 -o
> %t.11
> > -// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10
> -disable-llvm-optzns -O3 -emit-llvm -o %t.opt
> > +// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10
> -disable-llvm-passes -O3 -emit-llvm -o %t.opt
> >  // RUN: FileCheck %s < %t
> >  // RUN: FileCheck %s < %t.03
> >  // RUN: FileCheck %s < %t.11
> >
> > Modified: cfe/trunk/test/CodeGenObjC/arc-blocks.m
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-blocks.m?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenObjC/arc-blocks.m (original)
> > +++ cfe/trunk/test/CodeGenObjC/arc-blocks.m Thu Dec 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -fobjc-runtime-has-weak -O2 -disable-llvm-optzns -o - %s |
> FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -fobjc-runtime-has-weak -O2 -disable-llvm-passes -o - %s |
> FileCheck %s
> >  // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -fobjc-runtime-has-weak -o - %s | FileCheck
> -check-prefix=CHECK-UNOPT %s
> >
> >  // This shouldn't crash.
> >
> > Modified: cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m (original)
> > +++ cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m Thu Dec 22 18:23:01
> 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -O2 -disable-llvm-optzns -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -O2 -disable-llvm-passes -o - %s | FileCheck %s
> >
> >  typedef const void *CFTypeRef;
> >  typedef const struct __CFString *CFStringRef;
> >
> > Modified: cfe/trunk/test/CodeGenObjC/arc-literals.m
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-literals.m?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenObjC/arc-literals.m (original)
> > +++ cfe/trunk/test/CodeGenObjC/arc-literals.m Thu Dec 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -I %S/Inputs -triple x86_64-apple-darwin10
> -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-weak -O2
> -disable-llvm-optzns -o - %s | FileCheck %s
> > +// RUN: %clang_cc1 -I %S/Inputs -triple x86_64-apple-darwin10
> -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-weak -O2
> -disable-llvm-passes -o - %s | FileCheck %s
> >
> >  #include "literal-support.h"
> >
> >
> > Modified: cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m (original)
> > +++ cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m Thu Dec 22
> 18:23:01 2016
> > @@ -1,6 +1,6 @@
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc
> -fblocks -fexceptions -fobjc-exceptions -O2 -disable-llvm-optzns -o - %s |
> FileCheck %s
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc
> -fblocks -fexceptions -fobjc-exceptions -disable-llvm-optzns -o - %s |
> FileCheck -check-prefix=NO-METADATA %s
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc
> -fblocks -fexceptions -fobjc-exceptions -O2 -disable-llvm-optzns -o - %s
> -fobjc-arc-exceptions | FileCheck -check-prefix=NO-METADATA %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc
> -fblocks -fexceptions -fobjc-exceptions -O2 -disable-llvm-passes -o - %s |
> FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc
> -fblocks -fexceptions -fobjc-exceptions -disable-llvm-passes -o - %s |
> FileCheck -check-prefix=NO-METADATA %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc
> -fblocks -fexceptions -fobjc-exceptions -O2 -disable-llvm-passes -o - %s
> -fobjc-arc-exceptions | FileCheck -check-prefix=NO-METADATA %s
> >
> >  // The front-end should emit clang.arc.no_objc_arc_exceptions in
> -fobjc-arc-exceptions
> >  // mode when optimization is enabled, and not otherwise.
> >
> > Modified: cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m (original)
> > +++ cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m Thu Dec 22
> 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -fobjc-runtime-has-weak -O2 -disable-llvm-optzns -o - %s |
> FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -fobjc-runtime-has-weak -O2 -disable-llvm-passes -o - %s |
> FileCheck %s
> >
> >  #define PRECISE_LIFETIME __attribute__((objc_precise_lifetime))
> >
> >
> > Modified: cfe/trunk/test/CodeGenObjC/arc-ternary-op.m
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-ternary-op.m?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenObjC/arc-ternary-op.m (original)
> > +++ cfe/trunk/test/CodeGenObjC/arc-ternary-op.m Thu Dec 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -fobjc-runtime-has-weak -O2 -disable-llvm-optzns -o - %s |
> FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -fobjc-runtime-has-weak -O2 -disable-llvm-passes -o - %s |
> FileCheck %s
> >
> >  void test0(_Bool cond) {
> >    id test0_helper(void) __attribute__((ns_returns_retained));
> >
> > Modified: cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m (original)
> > +++ cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m Thu Dec 22 18:23:01 2016
> > @@ -6,11 +6,11 @@
> >
> >  //   Make sure it works on ARM.
> >  // RUN: %clang_cc1 -triple arm64-apple-ios9 -fobjc-runtime=ios-9.0
> -fobjc-arc -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK
> -check-prefix=CHECK-UNOPTIMIZED -check-prefix=CHECK-MARKED
> > -// RUN: %clang_cc1 -triple arm64-apple-ios9 -fobjc-runtime=ios-9.0
> -fobjc-arc -O -disable-llvm-optzns -emit-llvm -o - %s | FileCheck %s
> -check-prefix=CHECK -check-prefix=CHECK-OPTIMIZED
> > +// RUN: %clang_cc1 -triple arm64-apple-ios9 -fobjc-runtime=ios-9.0
> -fobjc-arc -O -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
> -check-prefix=CHECK -check-prefix=CHECK-OPTIMIZED
> >
> >  //   Make sure it works on ARM64.
> >  // RUN: %clang_cc1 -triple armv7-apple-ios9 -fobjc-runtime=ios-9.0
> -fobjc-arc -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK
> -check-prefix=CHECK-UNOPTIMIZED -check-prefix=CHECK-MARKED
> > -// RUN: %clang_cc1 -triple armv7-apple-ios9 -fobjc-runtime=ios-9.0
> -fobjc-arc -O -disable-llvm-optzns -emit-llvm -o - %s | FileCheck %s
> -check-prefix=CHECK -check-prefix=CHECK-OPTIMIZED
> > +// RUN: %clang_cc1 -triple armv7-apple-ios9 -fobjc-runtime=ios-9.0
> -fobjc-arc -O -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
> -check-prefix=CHECK -check-prefix=CHECK-OPTIMIZED
> >
> >  //   Make sure that it's implicitly disabled if the runtime version
> isn't high enough.
> >  // RUN: %clang_cc1 -triple x86_64-apple-darwin10
> -fobjc-runtime=macosx-10.10 -fobjc-arc -emit-llvm -o - %s | FileCheck %s
> -check-prefix=DISABLED
> >
> > Modified: cfe/trunk/test/CodeGenObjC/arc.m
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc.m?rev=290392&r1=290391&r2=290392&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/test/CodeGenObjC/arc.m (original)
> > +++ cfe/trunk/test/CodeGenObjC/arc.m Thu Dec 22 18:23:01 2016
> > @@ -1,4 +1,4 @@
> > -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -fobjc-runtime-has-weak -O2 -disable-llvm-optzns -o - %s |
> FileCheck %s
> > +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -fobjc-runtime-has-weak -O2 -disable-llvm-passes -o - %s |
> FileCheck %s
> >  // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks
> -fobjc-arc -fobjc-runtime-has-weak -o - %s | FileCheck
> -check-prefix=CHECK-GLOBALS %s
> >
> >  // rdar://13129783. Check both native/non-native arc platforms. Here we
> check
> >
> > Modified: cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m?rev=290392&r1=290391&r2=290392&view=di
> <http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m?rev=290392&r1=290391&r2=290392&view=diff>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170112/3bf134b7/attachment-0001.html>


More information about the cfe-commits mailing list