[backend] almost all test passed

This commit is contained in:
Lixuanwang
2025-06-24 16:03:39 +08:00
parent cd91cc98ed
commit 5222027b68
3 changed files with 6 additions and 5 deletions

View File

@@ -1,3 +1,3 @@
rm -rf tmp/*
rm -rf *.s
rm -rf *.s *.ll *clang *sysyc
rm -rf *_riscv32

View File

@@ -33,7 +33,7 @@ for sy_file in "$input_dir"*.sy; do
output_file="${base_name}_sysyc.ll"
# 使用 sysyc 编译 .sy 文件为 .ll 文件
../build/bin/sysyc -s llvmir "$sy_file" > "$output_file"
../build/bin/sysyc -s ir "$sy_file" > "$output_file"
# 检查是否成功
if [ $? -eq 0 ]; then