Add -Zlint-llvm-ir

This commit is contained in:
DianQK 2024-08-29 18:12:31 +08:00
parent c9bd03cb72
commit 9589eb95d2
No known key found for this signature in database
9 changed files with 26 additions and 4 deletions

View file

@ -573,6 +573,7 @@ pub(crate) unsafe fn llvm_optimize(
cgcx.opts.cg.linker_plugin_lto.enabled(),
config.no_prepopulate_passes,
config.verify_llvm_ir,
config.lint_llvm_ir,
using_thin_buffers,
config.merge_functions,
unroll_loops,