llvm: default to LLVM 18

This commit is contained in:
Aofei Sheng
2024-07-07 14:58:34 +08:00
parent af3e326178
commit abe2c6870b
11 changed files with 83 additions and 22 deletions

View File

@@ -86,9 +86,9 @@ _llgo_0:
%5 = getelementptr inbounds { ptr, ptr }, ptr %3, i32 0, i32 1
store ptr %1, ptr %5, align 8
%6 = load { ptr, ptr }, ptr %3, align 8
call void @main.assert(i1 true)
call void @main.assert(i1 true)
call void @main.assert(i1 true)
call void @main.assert(i1 icmp ne (ptr @main.test, { ptr, ptr } zeroinitializer))
call void @main.assert(i1 icmp ne (ptr @main.test, { ptr, ptr } zeroinitializer))
call void @main.assert(i1 icmp ne (ptr @"main.init#1$1", { ptr, ptr } zeroinitializer))
%7 = extractvalue { ptr, ptr } %6, 0
%8 = icmp ne ptr %7, null
call void @main.assert(i1 %8)