Made a simple code generator that outputs to LLVM IR

This commit is contained in:
Samuel Hammersberg 2023-02-03 16:59:36 +01:00
parent defe409d78
commit 819f4c9406
6 changed files with 123 additions and 154 deletions

View file

@ -1,4 +1,5 @@
declare i64 @llvm.abs.i64(i64, i1 immarg)
declare i32 @puts(i8* nocapture) nounwind
define [21 x i8] @i64ToString(i64 %val_org) {