@@ -14,7 +14,7 @@ pub fn bench_compile_time(c: &mut Criterion) {
1414 c. bench_with_input ( BenchmarkId :: new ( filename, 1 ) , & program, |b, program| {
1515 b. iter ( || {
1616 let native_context = NativeContext :: new ( ) ;
17- native_context. compile ( program) . unwrap ( ) ;
17+ native_context. compile ( program, false ) . unwrap ( ) ;
1818 // pass manager internally verifies the MLIR output is correct.
1919 } )
2020 } ) ;
@@ -29,7 +29,7 @@ pub fn bench_compile_time(c: &mut Criterion) {
2929 for ( program, filename) in & programs {
3030 c. bench_with_input ( BenchmarkId :: new ( filename, 1 ) , & program, |b, program| {
3131 b. iter ( || {
32- native_context. compile ( program) . unwrap ( ) ;
32+ native_context. compile ( program, false ) . unwrap ( ) ;
3333 // pass manager internally verifies the MLIR output is correct.
3434 } )
3535 } ) ;
@@ -43,7 +43,7 @@ pub fn bench_compile_time(c: &mut Criterion) {
4343 c. bench_with_input ( BenchmarkId :: new ( filename, 1 ) , & program, |b, program| {
4444 b. iter ( || {
4545 let native_context = NativeContext :: new ( ) ;
46- let module = native_context. compile ( black_box ( program) ) . unwrap ( ) ;
46+ let module = native_context. compile ( black_box ( program) , false ) . unwrap ( ) ;
4747 let object = module_to_object ( module. module ( ) , OptLevel :: None )
4848 . expect ( "to compile correctly to a object file" ) ;
4949 black_box ( object)
@@ -60,7 +60,7 @@ pub fn bench_compile_time(c: &mut Criterion) {
6060 for ( program, filename) in & programs {
6161 c. bench_with_input ( BenchmarkId :: new ( filename, 1 ) , & program, |b, program| {
6262 b. iter ( || {
63- let module = native_context. compile ( black_box ( program) ) . unwrap ( ) ;
63+ let module = native_context. compile ( black_box ( program) , false ) . unwrap ( ) ;
6464 let object = module_to_object ( module. module ( ) , OptLevel :: None )
6565 . expect ( "to compile correctly to a object file" ) ;
6666 black_box ( object)
0 commit comments