Run regalloc checker on CI

This would have caught the issue that required releasing Cranelift 0.85.1
This commit is contained in:
bjorn3 2022-06-28 11:53:40 +02:00
parent f060ae9d3d
commit 56c5c09618

View File

@ -247,6 +247,7 @@ fn build_isa(sess: &Session, backend_config: &BackendConfig) -> Box<dyn isa::Tar
flags_builder.set("enable_probestack", "false").unwrap(); // __cranelift_probestack is not provided
let enable_verifier = if backend_config.enable_verifier { "true" } else { "false" };
flags_builder.set("enable_verifier", enable_verifier).unwrap();
flags_builder.set("regalloc_checker", enable_verifier).unwrap();
let tls_model = match target_triple.binary_format {
BinaryFormat::Elf => "elf_gd",