Skip to content

Commit

Permalink
Interpreter and compiler intrinsics
Browse files Browse the repository at this point in the history
  • Loading branch information
AdUhTkJm authored and mengzhuo committed Dec 29, 2024
1 parent df778c5 commit 11015b9
Show file tree
Hide file tree
Showing 8 changed files with 1,305 additions and 104 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_build
moonbit-lang.install
.vscode
.vscode
test/build
3 changes: 2 additions & 1 deletion src/riscv_opt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,6 @@ let ssa_of_cfg fn =
let opt ssa =
visit_fn build_cfg ssa;
let s = map_fn ssa_of_cfg ssa in
Basic_io.write "core.ssa" (String.concat "\n" (List.map Riscv_ssa.to_string s));
let out = Printf.sprintf "%s.ssa" !Driver_config.Linkcore_Opt.output_file in
Basic_io.write out (String.concat "\n" (List.map Riscv_ssa.to_string s));
s
Loading

0 comments on commit 11015b9

Please sign in to comment.