Codegen with better annotations on globals.

This commit is contained in:
Christoffer Lerno
2022-01-10 12:25:55 +01:00
committed by Christoffer Lerno
parent 041c096801
commit ea3b50d039
55 changed files with 365 additions and 349 deletions

View File

@@ -14,7 +14,7 @@ fn void main()
/* #expect: vector_init.ll
@vector_init.baz = global <4 x i32> <i32 1, i32 4, i32 5, i32 7>, align 16
@vector_init.baz = local_unnamed_addr global <4 x i32> <i32 1, i32 4, i32 5, i32 7>, align 16
; Function Attrs: nounwind
define void @vector_init.main() #0 {

View File

@@ -14,8 +14,8 @@ fn void tester()
/* #expect: test.ll
@test.b = global <2 x i32> <i32 1, i32 2>, align 8
@test.c = global [2 x i32] [i32 1, i32 2], align 4
@test.b = local_unnamed_addr global <2 x i32> <i32 1, i32 2>, align 8
@test.c = local_unnamed_addr global [2 x i32] [i32 1, i32 2], align 4
define void @test.tester() #0 {
entry: