<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Jan 12, 2017 at 12:02 PM Justin Bogner <<a href="mailto:mail@justinbogner.com">mail@justinbogner.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Chandler Carruth via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org" class="gmail_msg" target="_blank">cfe-commits@lists.llvm.org</a>> writes:<br class="gmail_msg">
> Author: chandlerc<br class="gmail_msg">
> Date: Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> New Revision: 290392<br class="gmail_msg">
><br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=290392&view=rev" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project?rev=290392&view=rev</a><br class="gmail_msg">
> Log:<br class="gmail_msg">
> Make '-disable-llvm-optzns' an alias for '-disable-llvm-passes'.<br class="gmail_msg">
><br class="gmail_msg">
> Much to my surprise, '-disable-llvm-optzns' which I thought was the<br class="gmail_msg">
> magical flag I wanted to get at the raw LLVM IR coming out of Clang<br class="gmail_msg">
> deosn't do that. It still runs some passes over the IR. I don't want<br class="gmail_msg">
> that, I really want the *raw* IR coming out of Clang and I strongly<br class="gmail_msg">
> suspect everyone else using it is in the same camp.<br class="gmail_msg">
><br class="gmail_msg">
> There is actually a flag that does what I want that I didn't know about<br class="gmail_msg">
> called '-disable-llvm-passes'. I suspect many others don't know about it<br class="gmail_msg">
> either. It both does what I want and is much simpler.<br class="gmail_msg">
><br class="gmail_msg">
> This removes the confusing version and makes that spelling of the flag<br class="gmail_msg">
> an alias for '-disable-llvm-passes'. I've also moved everything in Clang<br class="gmail_msg">
> to use the 'passes' spelling as it seems both more accurate (*all* LLVM<br class="gmail_msg">
> passes are disabled, not just optimizations) and much easier to remember<br class="gmail_msg">
> and spell correctly.<br class="gmail_msg">
><br class="gmail_msg">
> This is part of simplifying how Clang drives LLVM to make it cleaner to<br class="gmail_msg">
> wire up to the new pass manager.<br class="gmail_msg">
><br class="gmail_msg">
> Differential Revision: <a href="https://reviews.llvm.org/D28047" rel="noreferrer" class="gmail_msg" target="_blank">https://reviews.llvm.org/D28047</a><br class="gmail_msg">
><br class="gmail_msg">
> Modified:<br class="gmail_msg">
> cfe/trunk/include/clang/Driver/CC1Options.td<br class="gmail_msg">
> cfe/trunk/include/clang/Frontend/CodeGenOptions.def<br class="gmail_msg">
> cfe/trunk/lib/CodeGen/BackendUtil.cpp<br class="gmail_msg">
> cfe/trunk/lib/Driver/Tools.cpp<br class="gmail_msg">
> cfe/trunk/lib/Frontend/CompilerInvocation.cpp<br class="gmail_msg">
> cfe/trunk/test/CXX/drs/dr158.cpp<br class="gmail_msg">
> cfe/trunk/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGen/always_inline.c<br class="gmail_msg">
> cfe/trunk/test/CodeGen/attr-minsize.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGen/bool_test.c<br class="gmail_msg">
> cfe/trunk/test/CodeGen/builtin-expect.c<br class="gmail_msg">
> cfe/trunk/test/CodeGen/builtin-unpredictable.c<br class="gmail_msg">
> cfe/trunk/test/CodeGen/fixup-depth-overflow.c<br class="gmail_msg">
> cfe/trunk/test/CodeGen/function-attributes.c<br class="gmail_msg">
> cfe/trunk/test/CodeGen/inline.c<br class="gmail_msg">
> cfe/trunk/test/CodeGen/may-alias.c<br class="gmail_msg">
> cfe/trunk/test/CodeGen/tbaa-class.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGen/tbaa.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/PR26569.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/destructors.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/dllexport.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/dllimport.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/inline-hint.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/linkage.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/pr24097.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/template-instantiation.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/thunks.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/arc-blocks.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/arc-literals.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/arc-ternary-op.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/arc.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-ios.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-mac-arc.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-mac.m<br class="gmail_msg">
> cfe/trunk/test/CodeGenObjCXX/<a href="http://arc-globals.mm" rel="noreferrer" class="gmail_msg" target="_blank">arc-globals.mm</a><br class="gmail_msg">
> cfe/trunk/test/CodeGenObjCXX/<a href="http://arc-move.mm" rel="noreferrer" class="gmail_msg" target="_blank">arc-move.mm</a><br class="gmail_msg">
> cfe/trunk/test/CodeGenObjCXX/<a href="http://arc-new-delete.mm" rel="noreferrer" class="gmail_msg" target="_blank">arc-new-delete.mm</a><br class="gmail_msg">
> cfe/trunk/test/CodeGenObjCXX/<a href="http://arc-references.mm" rel="noreferrer" class="gmail_msg" target="_blank">arc-references.mm</a><br class="gmail_msg">
> cfe/trunk/test/CodeGenObjCXX/<a href="http://arc.mm" rel="noreferrer" class="gmail_msg" target="_blank">arc.mm</a><br class="gmail_msg">
> cfe/trunk/test/CodeGenObjCXX/<a href="http://destroy.mm" rel="noreferrer" class="gmail_msg" target="_blank">destroy.mm</a><br class="gmail_msg">
> cfe/trunk/test/CodeGenObjCXX/<a href="http://literals.mm" rel="noreferrer" class="gmail_msg" target="_blank">literals.mm</a><br class="gmail_msg">
> cfe/trunk/test/Driver/cc1-response-files.c<br class="gmail_msg">
> cfe/trunk/test/Driver/cl-options.c<br class="gmail_msg">
> cfe/trunk/test/Modules/cxx-irgen.cpp<br class="gmail_msg">
> cfe/trunk/test/OpenMP/declare_reduction_codegen.c<br class="gmail_msg">
> cfe/trunk/test/OpenMP/declare_reduction_codegen.cpp<br class="gmail_msg">
> cfe/trunk/test/Profile/func-entry.c<br class="gmail_msg">
> cfe/trunk/test/Profile/gcc-flag-compatibility.c<br class="gmail_msg">
> cfe/trunk/test/Profile/profile-summary.c<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/include/clang/Driver/CC1Options.td<br class="gmail_msg">
> URL:<br class="gmail_msg">
> <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/CC1Options.td?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/CC1Options.td?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/include/clang/Driver/CC1Options.td (original)<br class="gmail_msg">
> +++ cfe/trunk/include/clang/Driver/CC1Options.td Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -160,13 +160,13 @@ def fno_math_builtin : Flag<["-"], "fno-<br class="gmail_msg">
> HelpText<"Disable implicit builtin knowledge of math functions">;<br class="gmail_msg">
> }<br class="gmail_msg">
><br class="gmail_msg">
> -def disable_llvm_optzns : Flag<["-"], "disable-llvm-optzns">,<br class="gmail_msg">
> - HelpText<"Don't run LLVM optimization passes">;<br class="gmail_msg">
> def disable_llvm_verifier : Flag<["-"], "disable-llvm-verifier">,<br class="gmail_msg">
> HelpText<"Don't run the LLVM IR verifier pass">;<br class="gmail_msg">
> def disable_llvm_passes : Flag<["-"], "disable-llvm-passes">,<br class="gmail_msg">
> HelpText<"Use together with -emit-llvm to get pristine LLVM IR from the "<br class="gmail_msg">
> "frontend by not running any LLVM passes at all">;<br class="gmail_msg">
> +def disable_llvm_optzns : Flag<["-"], "disable-llvm-optzns">,<br class="gmail_msg">
> + Alias<disable_llvm_passes>;<br class="gmail_msg">
> def disable_red_zone : Flag<["-"], "disable-red-zone">,<br class="gmail_msg">
> HelpText<"Do not emit code that uses the red zone.">;<br class="gmail_msg">
> def dwarf_column_info : Flag<["-"], "dwarf-column-info">,<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/include/clang/Frontend/CodeGenOptions.def<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/CodeGenOptions.def?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/CodeGenOptions.def?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/include/clang/Frontend/CodeGenOptions.def (original)<br class="gmail_msg">
> +++ cfe/trunk/include/clang/Frontend/CodeGenOptions.def Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -49,10 +49,6 @@ CODEGENOPT(DisableFPElim , 1, 0) ///<br class="gmail_msg">
> CODEGENOPT(DisableFree , 1, 0) ///< Don't free memory.<br class="gmail_msg">
> CODEGENOPT(DiscardValueNames , 1, 0) ///< Discard Value Names from the IR (LLVMContext flag)<br class="gmail_msg">
> CODEGENOPT(DisableGCov , 1, 0) ///< Don't run the GCov pass, for testing.<br class="gmail_msg">
> -CODEGENOPT(DisableLLVMOpts , 1, 0) ///< Don't run any optimizations, for use in<br class="gmail_msg">
> - ///< getting .bc files that correspond to the<br class="gmail_msg">
> - ///< internal state before optimizations are<br class="gmail_msg">
> - ///< done.<br class="gmail_msg">
> CODEGENOPT(DisableLLVMPasses , 1, 0) ///< Don't run any LLVM IR passes to get<br class="gmail_msg">
> ///< the pristine IR generated by the<br class="gmail_msg">
> ///< frontend.<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -284,19 +284,14 @@ static void addSymbolRewriterPass(const<br class="gmail_msg">
><br class="gmail_msg">
> void EmitAssemblyHelper::CreatePasses(legacy::PassManager &MPM,<br class="gmail_msg">
> legacy::FunctionPassManager &FPM) {<br class="gmail_msg">
> + // Handle disabling of all LLVM passes, where we want to preserve the<br class="gmail_msg">
> + // internal module before any optimization.<br class="gmail_msg">
> if (CodeGenOpts.DisableLLVMPasses)<br class="gmail_msg">
> return;<br class="gmail_msg">
><br class="gmail_msg">
> unsigned OptLevel = CodeGenOpts.OptimizationLevel;<br class="gmail_msg">
> CodeGenOptions::InliningMethod Inlining = CodeGenOpts.getInlining();<br class="gmail_msg">
><br class="gmail_msg">
> - // Handle disabling of LLVM optimization, where we want to preserve the<br class="gmail_msg">
> - // internal module before any optimization.<br class="gmail_msg">
> - if (CodeGenOpts.DisableLLVMOpts) {<br class="gmail_msg">
> - OptLevel = 0;<br class="gmail_msg">
> - Inlining = CodeGenOpts.NoInlining;<br class="gmail_msg">
> - }<br class="gmail_msg">
> -<br class="gmail_msg">
> PassManagerBuilderWrapper PMBuilder(CodeGenOpts, LangOpts);<br class="gmail_msg">
><br class="gmail_msg">
> // Figure out TargetLibraryInfo. This needs to be added to MPM and FPM<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/lib/Driver/Tools.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/lib/Driver/Tools.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/lib/Driver/Tools.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -4221,7 +4221,7 @@ void Clang::ConstructJob(Compilation &C,<br class="gmail_msg">
> // Add flags implied by -fembed-bitcode.<br class="gmail_msg">
> Args.AddLastArg(CmdArgs, options::OPT_fembed_bitcode_EQ);<br class="gmail_msg">
> // Disable all llvm IR level optimizations.<br class="gmail_msg">
> - CmdArgs.push_back("-disable-llvm-optzns");<br class="gmail_msg">
> + CmdArgs.push_back("-disable-llvm-passes");<br class="gmail_msg">
> }<br class="gmail_msg">
> if (C.getDriver().embedBitcodeMarkerOnly())<br class="gmail_msg">
> CmdArgs.push_back("-fembed-bitcode=marker");<br class="gmail_msg">
> @@ -6385,8 +6385,8 @@ void Clang::ConstructJob(Compilation &C,<br class="gmail_msg">
><br class="gmail_msg">
> // We translate this by hand to the -cc1 argument, since nightly test uses<br class="gmail_msg">
> // it and developers have been trained to spell it with -mllvm.<br class="gmail_msg">
> - if (StringRef(A->getValue(0)) == "-disable-llvm-optzns") {<br class="gmail_msg">
> - CmdArgs.push_back("-disable-llvm-optzns");<br class="gmail_msg">
> + if (StringRef(A->getValue(0)) == "-disable-llvm-passes") {<br class="gmail_msg">
> + CmdArgs.push_back("-disable-llvm-passes");<br class="gmail_msg">
<br class="gmail_msg">
This isn't quite right, it should either be left as-is or dropped<br class="gmail_msg">
completely. This path was allowing people to spell "-mllvm<br class="gmail_msg">
-disable-llvm-optzns" for legacy reasons, even though the correct<br class="gmail_msg">
spelling is "-Xclang -disable-llvm-optzns". There's no need to add<br class="gmail_msg">
legacy support for "-mllvm -disable-llvm-passes", since that never<br class="gmail_msg">
worked.<br class="gmail_msg"></blockquote><div><br></div><div>Yeah, I don't think this was even really intended.</div><div><br></div><div>r291850+r291853 fix this to preserve -disable-llvm-optzns exactly as it was.</div><div><br></div><div>I've alse followed up with Hans to make sure LLVM 4 gets this.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="gmail_msg">
> } else<br class="gmail_msg">
> A->render(Args, CmdArgs);<br class="gmail_msg">
> }<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -513,7 +513,6 @@ static bool ParseCodeGenArgs(CodeGenOpti<br class="gmail_msg">
> Args.getLastArg(OPT_emit_llvm_uselists, OPT_no_emit_llvm_uselists))<br class="gmail_msg">
> Opts.EmitLLVMUseLists = A->getOption().getID() == OPT_emit_llvm_uselists;<br class="gmail_msg">
><br class="gmail_msg">
> - Opts.DisableLLVMOpts = Args.hasArg(OPT_disable_llvm_optzns);<br class="gmail_msg">
> Opts.DisableLLVMPasses = Args.hasArg(OPT_disable_llvm_passes);<br class="gmail_msg">
> Opts.DisableRedZone = Args.hasArg(OPT_disable_red_zone);<br class="gmail_msg">
> Opts.ForbidGuardVariables = Args.hasArg(OPT_fforbid_guard_variables);<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CXX/drs/dr158.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/drs/dr158.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/drs/dr158.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CXX/drs/dr158.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CXX/drs/dr158.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,7 +1,7 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-linux -std=c++98 %s -O3 -disable-llvm-optzns -pedantic-errors -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-linux -std=c++11 %s -O3 -disable-llvm-optzns -pedantic-errors -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-linux -std=c++14 %s -O3 -disable-llvm-optzns -pedantic-errors -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-linux -std=c++1z %s -O3 -disable-llvm-optzns -pedantic-errors -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-linux -std=c++98 %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-linux -std=c++11 %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-linux -std=c++14 %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-linux -std=c++1z %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> // dr158: yes<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp<br class="gmail_msg">
> URL: <a href="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" rel="noreferrer" class="gmail_msg" target="_blank">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</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-optzns -emit-llvm -std=c++11 -o - %s | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-passes -emit-llvm -std=c++11 -o - %s | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> template<typename T><br class="gmail_msg">
> struct X0 {<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/always_inline.c<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/always_inline.c?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/always_inline.c?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/always_inline.c (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/always_inline.c Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,7 +1,7 @@<br class="gmail_msg">
> // RUN: %clang -emit-llvm -S -o %t %s<br class="gmail_msg">
> // RUN: not grep '@f0' %t<br class="gmail_msg">
> // RUN: not grep 'call ' %t<br class="gmail_msg">
> -// RUN: %clang -mllvm -disable-llvm-optzns -emit-llvm -S -o %t %s<br class="gmail_msg">
> +// RUN: %clang -mllvm -disable-llvm-passes -emit-llvm -S -o %t %s<br class="gmail_msg">
> // RUN: grep '@f0' %t | count 2<br class="gmail_msg">
><br class="gmail_msg">
> //static int f0() {<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/attr-minsize.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/attr-minsize.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/attr-minsize.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/attr-minsize.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/attr-minsize.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,9 +1,9 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -Oz -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s -check-prefix=Oz<br class="gmail_msg">
> -// RUN: %clang_cc1 -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER<br class="gmail_msg">
> -// RUN: %clang_cc1 -O1 -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER<br class="gmail_msg">
> -// RUN: %clang_cc1 -O2 -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER<br class="gmail_msg">
> -// RUN: %clang_cc1 -O3 -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER<br class="gmail_msg">
> -// RUN: %clang_cc1 -Os -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER<br class="gmail_msg">
> +// RUN: %clang_cc1 -Oz -disable-llvm-passes -emit-llvm %s -o - | FileCheck %s -check-prefix=Oz<br class="gmail_msg">
> +// RUN: %clang_cc1 -disable-llvm-passes -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER<br class="gmail_msg">
> +// RUN: %clang_cc1 -O1 -disable-llvm-passes -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER<br class="gmail_msg">
> +// RUN: %clang_cc1 -O2 -disable-llvm-passes -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER<br class="gmail_msg">
> +// RUN: %clang_cc1 -O3 -disable-llvm-passes -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER<br class="gmail_msg">
> +// RUN: %clang_cc1 -Os -disable-llvm-passes -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER<br class="gmail_msg">
> // Check that we set the minsize attribute on each function<br class="gmail_msg">
> // when Oz optimization level is set.<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/bool_test.c<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/bool_test.c?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/bool_test.c?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/bool_test.c (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/bool_test.c Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> // REQUIRES: powerpc-registered-target<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple powerpc-apple-macosx10.4.0 -emit-llvm -o - %s -O2 -disable-llvm-optzns | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple powerpc-apple-macosx10.4.0 -emit-llvm -o - %s -O2 -disable-llvm-passes | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> int boolsize = sizeof(_Bool);<br class="gmail_msg">
> // CHECK: boolsize = global i32 4, align 4<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/builtin-expect.c<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtin-expect.c?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtin-expect.c?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/builtin-expect.c (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/builtin-expect.c Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -O1 -disable-llvm-optzns | FileCheck %s --check-prefix=ALL --check-prefix=O1<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -O1 -disable-llvm-passes | FileCheck %s --check-prefix=ALL --check-prefix=O1<br class="gmail_msg">
> // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -O0 | FileCheck %s --check-prefix=ALL --check-prefix=O0<br class="gmail_msg">
><br class="gmail_msg">
> // In all tests, make sure that no expect is generated if optimizations are off.<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/builtin-unpredictable.c<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtin-unpredictable.c?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtin-unpredictable.c?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/builtin-unpredictable.c (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/builtin-unpredictable.c Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -disable-llvm-optzns -o - %s -O1 | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -disable-llvm-passes -o - %s -O1 | FileCheck %s<br class="gmail_msg">
> // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -O0 | FileCheck %s --check-prefix=CHECK_O0<br class="gmail_msg">
><br class="gmail_msg">
> // When optimizing, the builtin should be converted to metadata.<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/fixup-depth-overflow.c<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/fixup-depth-overflow.c?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/fixup-depth-overflow.c?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/fixup-depth-overflow.c (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/fixup-depth-overflow.c Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -O1 -disable-llvm-optzns -emit-llvm -o - %s | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -O1 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> #define M if (x) goto L1;<br class="gmail_msg">
> #define M10 M M M M M M M M M M<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/function-attributes.c<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/function-attributes.c?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/function-attributes.c?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/function-attributes.c (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/function-attributes.c Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -disable-llvm-optzns -Os -o - %s | FileCheck %s<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -disable-llvm-optzns -Os -std=c99 -o - %s | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -disable-llvm-passes -Os -o - %s | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -disable-llvm-passes -Os -std=c99 -o - %s | FileCheck %s<br class="gmail_msg">
> // CHECK: define signext i8 @f0(i32 %x) [[NUW:#[0-9]+]]<br class="gmail_msg">
> // CHECK: define zeroext i8 @f1(i32 %x) [[NUW]]<br class="gmail_msg">
> // CHECK: define void @f2(i8 signext %x) [[NUW]]<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/inline.c<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/inline.c?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/inline.c?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/inline.c (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/inline.c Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> // RUN: echo "GNU89 tests:"<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O1 -disable-llvm-optzns -emit-llvm -o - -std=gnu89 | FileCheck %s --check-prefix=CHECK1<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O1 -disable-llvm-passes -emit-llvm -o - -std=gnu89 | FileCheck %s --check-prefix=CHECK1<br class="gmail_msg">
> // CHECK1-LABEL: define i32 @foo()<br class="gmail_msg">
> // CHECK1-LABEL: define i32 @bar()<br class="gmail_msg">
> // CHECK1-LABEL: define void @unreferenced1()<br class="gmail_msg">
> @@ -21,7 +21,7 @@<br class="gmail_msg">
> // CHECK1-LABEL: define available_externally void @gnu_ei_inline()<br class="gmail_msg">
><br class="gmail_msg">
> // RUN: echo "C99 tests:"<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O1 -disable-llvm-optzns -emit-llvm -o - -std=gnu99 | FileCheck %s --check-prefix=CHECK2<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O1 -disable-llvm-passes -emit-llvm -o - -std=gnu99 | FileCheck %s --check-prefix=CHECK2<br class="gmail_msg">
> // CHECK2-LABEL: define i32 @ei()<br class="gmail_msg">
> // CHECK2-LABEL: define i32 @bar()<br class="gmail_msg">
> // CHECK2-NOT: unreferenced1<br class="gmail_msg">
> @@ -43,7 +43,7 @@<br class="gmail_msg">
> // CHECK2-LABEL: define available_externally void @gnu_ei_inline()<br class="gmail_msg">
><br class="gmail_msg">
> // RUN: echo "C++ tests:"<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> // CHECK3-LABEL: define i32 @_Z3barv()<br class="gmail_msg">
> // CHECK3-LABEL: define linkonce_odr i32 @_Z3foov()<br class="gmail_msg">
> // CHECK3-NOT: unreferenced<br class="gmail_msg">
> @@ -53,7 +53,7 @@<br class="gmail_msg">
> // CHECK3-LABEL: define linkonce_odr i32 @_Z2eiv()<br class="gmail_msg">
><br class="gmail_msg">
> // RUN: echo "MS C Mode tests:"<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple i386-pc-win32 -O1 -disable-llvm-optzns -emit-llvm -o - -std=c99 | FileCheck %s --check-prefix=CHECK4<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple i386-pc-win32 -O1 -disable-llvm-passes -emit-llvm -o - -std=c99 | FileCheck %s --check-prefix=CHECK4<br class="gmail_msg">
> // CHECK4-NOT: define weak_odr void @_Exit(<br class="gmail_msg">
> // CHECK4-LABEL: define weak_odr i32 @ei()<br class="gmail_msg">
> // CHECK4-LABEL: define i32 @bar()<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/may-alias.c<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/may-alias.c?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/may-alias.c?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/may-alias.c (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/may-alias.c Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1 -no-struct-path-tbaa -disable-llvm-optzns -o - %s | FileCheck %s<br class="gmail_msg">
> -// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1 -disable-llvm-optzns -o - %s | FileCheck %s -check-prefix=PATH<br class="gmail_msg">
> +// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1 -no-struct-path-tbaa -disable-llvm-passes -o - %s | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1 -disable-llvm-passes -o - %s | FileCheck %s -check-prefix=PATH<br class="gmail_msg">
><br class="gmail_msg">
> // Types with the may_alias attribute should be considered equivalent<br class="gmail_msg">
> // to char for aliasing.<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/tbaa-class.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/tbaa-class.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/tbaa-class.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/tbaa-class.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/tbaa-class.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s -check-prefix=PATH<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s -check-prefix=PATH<br class="gmail_msg">
> // Test TBAA metadata generated by front-end.<br class="gmail_msg">
><br class="gmail_msg">
> typedef unsigned char uint8_t;<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/tbaa-ms-abi.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple i686-pc-win32 -disable-llvm-optzns -emit-llvm -o - -O1 %s | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple i686-pc-win32 -disable-llvm-passes -emit-llvm -o - -O1 %s | FileCheck %s<br class="gmail_msg">
> //<br class="gmail_msg">
> // Test that TBAA works in the Microsoft C++ ABI. We used to error out while<br class="gmail_msg">
> // attempting to mangle RTTI.<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGen/tbaa.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/tbaa.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/tbaa.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGen/tbaa.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGen/tbaa.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,7 +1,7 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s -check-prefix=PATH<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O0 -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-TBAA<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -relaxed-aliasing -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-TBAA<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s -check-prefix=PATH<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O0 -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-TBAA<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -relaxed-aliasing -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-TBAA<br class="gmail_msg">
> // Test TBAA metadata generated by front-end.<br class="gmail_msg">
> //<br class="gmail_msg">
> // NO-TBAA-NOT: !tbaa<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/PR26569.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/PR26569.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/PR26569.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/PR26569.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/PR26569.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -emit-llvm -O1 -disable-llvm-optzns %s -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -emit-llvm -O1 -disable-llvm-passes %s -o - | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> class __declspec(dllimport) A {<br class="gmail_msg">
> virtual void m_fn1();<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,6 +1,6 @@<br class="gmail_msg">
> // RUN: %clang_cc1 %s -triple i686-linux -emit-llvm -o - -mconstructor-aliases | FileCheck --check-prefix=NOOPT %s<br class="gmail_msg">
><br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple i686-linux -emit-llvm -o - -mconstructor-aliases -O1 -disable-llvm-optzns > %t<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple i686-linux -emit-llvm -o - -mconstructor-aliases -O1 -disable-llvm-passes > %t<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK1 --input-file=%t %s<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK2 --input-file=%t %s<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK3 --input-file=%t %s<br class="gmail_msg">
> @@ -8,7 +8,7 @@<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK5 --input-file=%t %s<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK6 --input-file=%t %s<br class="gmail_msg">
><br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple i686-pc-windows-gnu -emit-llvm -o - -mconstructor-aliases -O1 -disable-llvm-optzns | FileCheck --check-prefix=COFF %s<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple i686-pc-windows-gnu -emit-llvm -o - -mconstructor-aliases -O1 -disable-llvm-passes | FileCheck --check-prefix=COFF %s<br class="gmail_msg">
><br class="gmail_msg">
> namespace test1 {<br class="gmail_msg">
> // Test that we produce the apropriate comdats when creating aliases to<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> // expected-no-diagnostics<br class="gmail_msg">
><br class="gmail_msg">
> // The variable template specialization x<Foo> generated in each file<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/destructors.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/destructors.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/destructors.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/destructors.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/destructors.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,10 +1,10 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK1 --input-file=%t %s<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK2 --input-file=%t %s<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK3 --input-file=%t %s<br class="gmail_msg">
> // RUN: FileCheck --check-prefixes=CHECK4,CHECK4v03 --input-file=%t %s<br class="gmail_msg">
> // RUN: FileCheck --check-prefixes=CHECK5,CHECK5v03 --input-file=%t %s<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK1 --input-file=%t2 %s<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK2v11 --input-file=%t2 %s<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK3 --input-file=%t2 %s<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/dllexport.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllexport.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllexport.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/dllexport.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/dllexport.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> // 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<br class="gmail_msg">
> // 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<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> struct __declspec(dllimport) S {<br class="gmail_msg">
> virtual void f() {}<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/dllimport.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllimport.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllimport.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/dllimport.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/dllimport.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -2,8 +2,8 @@<br class="gmail_msg">
> // 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<br class="gmail_msg">
> // 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<br class="gmail_msg">
> // 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> // 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<br class="gmail_msg">
><br class="gmail_msg">
> // CHECK-NOT doesn't play nice with CHECK-DAG, so use separate run lines.<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/exceptions-seh.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -2,7 +2,7 @@<br class="gmail_msg">
> // RUN: -o - -mconstructor-aliases -fcxx-exceptions -fexceptions | \<br class="gmail_msg">
> // RUN: FileCheck %s --check-prefix=CHECK --check-prefix=CXXEH<br class="gmail_msg">
> // RUN: %clang_cc1 -std=c++11 -fblocks -fms-extensions %s -triple=x86_64-windows-msvc -emit-llvm \<br class="gmail_msg">
> -// RUN: -o - -mconstructor-aliases -O1 -disable-llvm-optzns | \<br class="gmail_msg">
> +// RUN: -o - -mconstructor-aliases -O1 -disable-llvm-passes | \<br class="gmail_msg">
> // RUN: FileCheck %s --check-prefix=CHECK --check-prefix=NOCXX<br class="gmail_msg">
><br class="gmail_msg">
> extern "C" unsigned long _exception_code();<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/explicit-instantiation.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> // 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> // RUN: %clang_cc1 -emit-llvm -triple i686-pc-win32 -std=c++1y -o - %s | FileCheck %s --check-prefix=CHECK-MS<br class="gmail_msg">
><br class="gmail_msg">
> // This check logically is attached to 'template int S<int>::i;' below.<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/inline-hint.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/inline-hint.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/inline-hint.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/inline-hint.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/inline-hint.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,6 +1,6 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> // Force non-trivial implicit constructors/destructors/operators for B by having explicit ones for A<br class="gmail_msg">
> struct A {<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/invariant.group-for-vptrs.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -emit-llvm %s -fstrict-vtable-pointers -O1 -o - -disable-llvm-optzns | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -emit-llvm %s -fstrict-vtable-pointers -O1 -o - -disable-llvm-passes | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> struct A {<br class="gmail_msg">
> virtual void foo();<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/linkage.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/linkage.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/linkage.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/linkage.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/linkage.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -std=c++11 -O1 -disable-llvm-optzns %s -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -std=c++11 -O1 -disable-llvm-passes %s -o - | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> namespace test1 {<br class="gmail_msg">
> // CHECK-DAG: define linkonce_odr void @_ZN5test11fIZNS_1gEvE1SEEvT_(<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-catch.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,6 +1,6 @@<br class="gmail_msg">
> // RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o - -triple=x86_64-pc-windows-msvc \<br class="gmail_msg">
> // RUN: -mconstructor-aliases -fexceptions -fcxx-exceptions \<br class="gmail_msg">
> -// RUN: -O1 -disable-llvm-optzns \<br class="gmail_msg">
> +// RUN: -O1 -disable-llvm-passes \<br class="gmail_msg">
> // RUN: | FileCheck -check-prefix WIN64 %s<br class="gmail_msg">
><br class="gmail_msg">
> extern "C" void might_throw();<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> // 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> struct A {<br class="gmail_msg">
> A();<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-extern-template.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -fno-rtti-data -O1 -disable-llvm-optzns %s -emit-llvm -o - -triple x86_64-windows-msvc | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -fno-rtti-data -O1 -disable-llvm-passes %s -emit-llvm -o - -triple x86_64-windows-msvc | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> // Even though Foo<int> has an extern template declaration, we have to emit our<br class="gmail_msg">
> // own copy the vftable when emitting the available externally constructor.<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-structors-alias.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -emit-llvm %s -o - -triple=i386-pc-win32 -fno-rtti -mconstructor-aliases -O1 -disable-llvm-optzns | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -emit-llvm %s -o - -triple=i386-pc-win32 -fno-rtti -mconstructor-aliases -O1 -disable-llvm-passes | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> namespace test1 {<br class="gmail_msg">
> template <typename T> class A {<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple=i386-pc-win32 -fms-extensions -emit-llvm -o - -O1 -disable-llvm-optzns | FileCheck %s -check-prefix=RTTI<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple=i386-pc-win32 -fms-extensions -emit-llvm -o - -O1 -disable-llvm-passes | FileCheck %s -check-prefix=RTTI<br class="gmail_msg">
><br class="gmail_msg">
> // RTTI-DAG: $"\01??_7S@@6B@" = comdat largest<br class="gmail_msg">
> // RTTI-DAG: $"\01??_7V@@6B@" = comdat largest<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/pr24097.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/pr24097.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/pr24097.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/pr24097.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/pr24097.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple=x86_64-pc-linux -fvisibility hidden -emit-llvm -O1 -disable-llvm-optzns -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple=x86_64-pc-linux -fvisibility hidden -emit-llvm -O1 -disable-llvm-passes -o - | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> struct Filter {<br class="gmail_msg">
> virtual void Foo();<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/sanitize-dtor-bit-field.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,6 +1,6 @@<br class="gmail_msg">
> // Test -fsanitize-memory-use-after-dtor<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> // 24 bytes total<br class="gmail_msg">
> struct Packed {<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/sanitize-dtor-derived-class.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> // Base dtor poisons members<br class="gmail_msg">
> // Complete dtor poisons vtable ptr after destroying members and<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/sanitize-dtor-tail-call.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,6 +1,6 @@<br class="gmail_msg">
> // Test -fsanitize-memory-use-after-dtor<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> struct Simple {<br class="gmail_msg">
> int x_;<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/sanitize-dtor-trivial.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,6 +1,6 @@<br class="gmail_msg">
> // Test -fsanitize-memory-use-after-dtor<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> // TODO Success pending on resolution of issue:<br class="gmail_msg">
> // <a href="https://github.com/google/sanitizers/issues/596" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/google/sanitizers/issues/596</a><br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/sanitize-dtor-vtable.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> class A {<br class="gmail_msg">
> public:<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/stack-reuse-miscompile.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple armv7l-unknown-linux-gnueabihf -emit-llvm -O1 -disable-llvm-optzns -std=c++03 %s -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple armv7l-unknown-linux-gnueabihf -emit-llvm -O1 -disable-llvm-passes -std=c++03 %s -o - | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> // This test should not to generate llvm.lifetime.start/llvm.lifetime.end for<br class="gmail_msg">
> // f function because all temporary objects in this function are used for the<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/strict-vtable-pointers.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -fstrict-vtable-pointers -disable-llvm-optzns -O2 -emit-llvm -o %t.ll<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -fstrict-vtable-pointers -disable-llvm-passes -O2 -emit-llvm -o %t.ll<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK-CTORS %s < %t.ll<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK-NEW %s < %t.ll<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK-DTORS %s < %t.ll<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/template-instantiation.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/template-instantiation.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/template-instantiation.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/template-instantiation.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/template-instantiation.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -O1 -disable-llvm-optzns -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -O1 -disable-llvm-passes -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> // CHECK: @_ZN7PR100011xE = global<br class="gmail_msg">
> // CHECK-NOT: @_ZN7PR100014kBarE = external global i32<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/thunks.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/thunks.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/thunks.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/thunks.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/thunks.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> // RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables -emit-llvm -o %t<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables -emit-llvm -o %t.opt -O1 -disable-llvm-optzns<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables -emit-llvm -o %t.opt -O1 -disable-llvm-passes<br class="gmail_msg">
> // RUN: FileCheck %s < %t<br class="gmail_msg">
> // RUN: FileCheck %s < %t.opt<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK-NONOPT %s < %t<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/virtual-destructor-calls.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 -mconstructor-aliases -O1 -disable-llvm-optzns | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 -mconstructor-aliases -O1 -disable-llvm-passes | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> struct Member {<br class="gmail_msg">
> ~Member();<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/visibility-inlines-hidden.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple i386-unknown-unknown -std=c++11 -fvisibility-inlines-hidden -emit-llvm -o - %s -O2 -disable-llvm-optzns | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple i386-unknown-unknown -std=c++11 -fvisibility-inlines-hidden -emit-llvm -o - %s -O2 -disable-llvm-passes | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> // The trickery with optimization in the run line is to get IR<br class="gmail_msg">
> // generation to emit available_externally function bodies, but not<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -emit-llvm -o %t.ll -O1 -disable-llvm-optzns -fms-extensions -fstrict-vtable-pointers<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple i686-pc-win32 -emit-llvm -o %t.ms.ll -O1 -disable-llvm-optzns -fms-extensions -fstrict-vtable-pointers<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -emit-llvm -o %t.ll -O1 -disable-llvm-passes -fms-extensions -fstrict-vtable-pointers<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple i686-pc-win32 -emit-llvm -o %t.ms.ll -O1 -disable-llvm-passes -fms-extensions -fstrict-vtable-pointers<br class="gmail_msg">
> // FIXME: Assume load should not require -fstrict-vtable-pointers<br class="gmail_msg">
><br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK1 --input-file=%t.ll %s<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/vtable-available-externally.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,5 +1,5 @@<br class="gmail_msg">
> // RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -emit-llvm -o %t<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -O2 -disable-llvm-optzns -emit-llvm -o %t.opt<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -O2 -disable-llvm-passes -emit-llvm -o %t.opt<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK-TEST1 %s < %t<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK-TEST2 %s < %t<br class="gmail_msg">
> // RUN: FileCheck --check-prefix=CHECK-TEST5 %s < %t<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenCXX/vtable-linkage.cpp Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,7 +1,7 @@<br class="gmail_msg">
> // RUN: %clang_cc1 %s -triple=x86_64-pc-linux -emit-llvm -o %t<br class="gmail_msg">
> // RUN: %clang_cc1 %s -triple=x86_64-pc-linux -emit-llvm -std=c++03 -o %t.03<br class="gmail_msg">
> // RUN: %clang_cc1 %s -triple=x86_64-pc-linux -emit-llvm -std=c++11 -o %t.11<br class="gmail_msg">
> -// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -disable-llvm-optzns -O3 -emit-llvm -o %t.opt<br class="gmail_msg">
> +// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -disable-llvm-passes -O3 -emit-llvm -o %t.opt<br class="gmail_msg">
> // RUN: FileCheck %s < %t<br class="gmail_msg">
> // RUN: FileCheck %s < %t.03<br class="gmail_msg">
> // RUN: FileCheck %s < %t.11<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenObjC/arc-blocks.m<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-blocks.m?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-blocks.m?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenObjC/arc-blocks.m (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenObjC/arc-blocks.m Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> // 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<br class="gmail_msg">
><br class="gmail_msg">
> // This shouldn't crash.<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenObjC/arc-bridged-cast.m Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -O2 -disable-llvm-optzns -o - %s | FileCheck %s<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -O2 -disable-llvm-passes -o - %s | FileCheck %s<br class="gmail_msg">
><br class="gmail_msg">
> typedef const void *CFTypeRef;<br class="gmail_msg">
> typedef const struct __CFString *CFStringRef;<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenObjC/arc-literals.m<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-literals.m?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-literals.m?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenObjC/arc-literals.m (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenObjC/arc-literals.m Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> #include "literal-support.h"<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenObjC/arc-no-arc-exceptions.m Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,6 +1,6 @@<br class="gmail_msg">
> -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -fblocks -fexceptions -fobjc-exceptions -O2 -disable-llvm-optzns -o - %s | FileCheck %s<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -fblocks -fexceptions -fobjc-exceptions -O2 -disable-llvm-passes -o - %s | FileCheck %s<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> // The front-end should emit clang.arc.no_objc_arc_exceptions in -fobjc-arc-exceptions<br class="gmail_msg">
> // mode when optimization is enabled, and not otherwise.<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenObjC/arc-precise-lifetime.m Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> #define PRECISE_LIFETIME __attribute__((objc_precise_lifetime))<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenObjC/arc-ternary-op.m<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-ternary-op.m?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-ternary-op.m?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenObjC/arc-ternary-op.m (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenObjC/arc-ternary-op.m Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> void test0(_Bool cond) {<br class="gmail_msg">
> id test0_helper(void) __attribute__((ns_returns_retained));<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenObjC/arc-unsafeclaim.m Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -6,11 +6,11 @@<br class="gmail_msg">
><br class="gmail_msg">
> // Make sure it works on ARM.<br class="gmail_msg">
> // 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> // Make sure it works on ARM64.<br class="gmail_msg">
> // 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<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
><br class="gmail_msg">
> // Make sure that it's implicitly disabled if the runtime version isn't high enough.<br class="gmail_msg">
> // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-10.10 -fobjc-arc -emit-llvm -o - %s | FileCheck %s -check-prefix=DISABLED<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenObjC/arc.m<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc.m?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc.m?rev=290392&r1=290391&r2=290392&view=diff</a><br class="gmail_msg">
> ==============================================================================<br class="gmail_msg">
> --- cfe/trunk/test/CodeGenObjC/arc.m (original)<br class="gmail_msg">
> +++ cfe/trunk/test/CodeGenObjC/arc.m Thu Dec 22 18:23:01 2016<br class="gmail_msg">
> @@ -1,4 +1,4 @@<br class="gmail_msg">
> -// 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<br class="gmail_msg">
> +// 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<br class="gmail_msg">
> // 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<br class="gmail_msg">
><br class="gmail_msg">
> // rdar://13129783. Check both native/non-native arc platforms. Here we check<br class="gmail_msg">
><br class="gmail_msg">
> Modified: cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m<br class="gmail_msg">
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m?rev=290392&r1=290391&r2=290392&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m?rev=290392&r1=290391&r2=290392&view=di</a></blockquote></div></div>