Change printfln to printfn. Make LLVM 15 tests default.

This commit is contained in:
Christoffer Lerno
2023-01-11 17:27:54 +01:00
committed by Christoffer Lerno
parent 3298ff2e15
commit dc16f65c8e
971 changed files with 30632 additions and 30623 deletions

View File

@@ -23,19 +23,17 @@ fn void test()
/* #expect: struct_codegen_empty.ll
%a = alloca %StructA, align 4
%a2 = alloca %StructA, align 4
%b = alloca %StructB, align 4
%b2 = alloca %StructB, align 4
%b3 = alloca %StructB, align 4
%0 = bitcast %StructA* %a to i32*
store i32 0, i32* %0, align 4
%1 = bitcast %StructA* %a2 to i32*
store i32 0, i32* %1, align 4
%2 = bitcast %StructB* %b to i32*
store i32 0, i32* %2, align 4
%3 = bitcast %StructB* %b2 to i32*
store i32 0, i32* %3, align 4
%4 = bitcast %StructB* %b3 to i32*
store i32 0, i32* %4, align 4
ret void
define void @struct_codegen_empty_test() #0 {
entry:
%a = alloca %StructA, align 4
%a2 = alloca %StructA, align 4
%b = alloca %StructB, align 4
%b2 = alloca %StructB, align 4
%b3 = alloca %StructB, align 4
store i32 0, ptr %a, align 4
store i32 0, ptr %a2, align 4
store i32 0, ptr %b, align 4
store i32 0, ptr %b2, align 4
store i32 0, ptr %b3, align 4
ret void
}