Fix test.

This commit is contained in:
Christoffer Lerno
2023-07-23 21:51:38 +02:00
parent 45d1b1d671
commit de9bb1d0cc

View File

@@ -9,7 +9,6 @@ source_filename = "test"
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-darwin"
@.__const = private unnamed_addr constant [2 x i8] zeroinitializer, align 1
; Function Attrs: nounwind
define i16 @test.get() #0 {
entry:
%literal = alloca [2 x i8], align 1
@@ -17,7 +16,3 @@ entry:
%0 = load i16, ptr %literal, align 1
ret i16 %0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i32(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i32, i1 immarg) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }