Commit da0aaba
Switch from Python aircc to C++ aircc binary
Replace the in-process Python aircc.run() call with a subprocess call
to the C++ aircc binary shipped in the mlir-air wheel. The C++ binary
is a full rewrite using LLVM's CommandLine library and in-process MLIR
PassManager, and is the intended replacement for the Python tool.
The IR file (asm_air_output.mlir) is already written to disk before
this point, so the change is straightforward: pass the file path as
a positional argument to the C++ binary with the same CLI options.
Verified: all 14 non-skipped examples pass on NPU2 (Strix/AIE2P).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6f432cd commit da0aaba
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
734 | | - | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
735 | 738 | | |
736 | 739 | | |
737 | 740 | | |
| |||
741 | 744 | | |
742 | 745 | | |
743 | 746 | | |
| 747 | + | |
744 | 748 | | |
745 | | - | |
| 749 | + | |
746 | 750 | | |
747 | 751 | | |
748 | 752 | | |
| |||
0 commit comments