llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) <details> <summary>Changes</summary> Seems like https://github.com/llvm/llvm-project/pull/199396 had no effect at all, even though the patch itself seems pretty obvious. With this patch `clang -c` will use the bytecode interpreter, but `clang -cc1` still won't. I'd like to change the behavior for `-cc1` as well but no idea how. --- Full diff: https://github.com/llvm/llvm-project/pull/200716.diff 1 Files Affected: - (modified) clang/lib/Driver/ToolChains/Clang.cpp (+2-1) ``````````diff diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp index 7657afb14f077..f408dd1c9d5c8 100644 --- a/clang/lib/Driver/ToolChains/Clang.cpp +++ b/clang/lib/Driver/ToolChains/Clang.cpp @@ -6680,7 +6680,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, Args.AddLastArg(CmdArgs, options::OPT_fexperimental_library); - if (Args.hasArg(options::OPT_fexperimental_new_constant_interpreter)) + if (Args.hasArg(options::OPT_fexperimental_new_constant_interpreter) || + CLANG_USE_EXPERIMENTAL_CONST_INTERP) CmdArgs.push_back("-fexperimental-new-constant-interpreter"); if (Arg *A = Args.getLastArg(options::OPT_fbracket_depth_EQ)) { `````````` </details> https://github.com/llvm/llvm-project/pull/200716 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
