llgen tests

This commit is contained in:
xushiwei
2024-05-05 21:33:04 +08:00
parent be9d209622
commit 0066f8bd3f
9 changed files with 16 additions and 24 deletions

View File

@@ -53,12 +53,12 @@ _llgo_3: ; preds = %_llgo_1
ret void
}
declare void @qsort(ptr, i64, i64, ptr)
declare void @"github.com/goplus/llgo/internal/runtime.init"()
declare ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64)
declare void @qsort(ptr, i64, i64, ptr)
define i32 @"main.main$1"(ptr %0, ptr %1) {
_llgo_0:
%2 = load i64, ptr %0, align 4