Skip to content

Add --llvm_opt_level option to eval_proc_main - #4907

Open
romart wants to merge 1 commit into
google:mainfrom
romart:llvm_opt_level_option
Open

Add --llvm_opt_level option to eval_proc_main#4907
romart wants to merge 1 commit into
google:mainfrom
romart:llvm_opt_level_option

Conversation

@romart

@romart romart commented Sep 3, 2026

Copy link
Copy Markdown

Add a --llvm_opt_level flag (valid values 0-3) to eval_proc_main so the LLVM optimizer level used by the JIT can be selected from the command line. The requested level is threaded through CreateJitSerialProcRuntime (via JitEvaluatorOptions) and through JitBlockEvaluator / BlockJit::Create (via a new opt_level parameter), and validated to lie in [0, 3].

Add a --llvm_opt_level flag (valid values 0-3) to eval_proc_main so the
LLVM optimizer level used by the JIT can be selected from the command
line. The requested level is threaded through CreateJitSerialProcRuntime
(via JitEvaluatorOptions) and through JitBlockEvaluator / BlockJit::Create
(via a new opt_level parameter), and validated to lie in [0, 3].
@google-cla

google-cla Bot commented Sep 3, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant