File tree Expand file tree Collapse file tree 1 file changed +12
-23
lines changed Expand file tree Collapse file tree 1 file changed +12
-23
lines changed Original file line number Diff line number Diff line change @@ -415,29 +415,18 @@ def main():
415
415
416
416
# Now generate all the checks.
417
417
def check_generator (my_output_lines , prefixes , func ):
418
- if "-emit-llvm" in clang_args :
419
- return common .add_ir_checks (
420
- my_output_lines ,
421
- "//" ,
422
- prefixes ,
423
- func_dict ,
424
- func ,
425
- False ,
426
- ti .args .function_signature ,
427
- ti .args .version ,
428
- global_vars_seen_dict ,
429
- is_filtered = builder .is_filtered (),
430
- )
431
- else :
432
- return asm .add_checks (
433
- my_output_lines ,
434
- "//" ,
435
- prefixes ,
436
- func_dict ,
437
- func ,
438
- global_vars_seen_dict ,
439
- is_filtered = builder .is_filtered (),
440
- )
418
+ return common .add_ir_checks (
419
+ my_output_lines ,
420
+ "//" ,
421
+ prefixes ,
422
+ func_dict ,
423
+ func ,
424
+ False ,
425
+ ti .args .function_signature ,
426
+ ti .args .version ,
427
+ global_vars_seen_dict ,
428
+ is_filtered = builder .is_filtered (),
429
+ )
441
430
442
431
if ti .args .check_globals != 'none' :
443
432
generated_prefixes .extend (
You can’t perform that action at this time.
0 commit comments