blob: 5047593af46287f872ccb4541ea1344f91972c7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
; RUN: llc < %s
; PR15253
%struct.mystruct = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"sth\00", section "llvm.metadata"
@.str1 = private unnamed_addr constant [4 x i8] c"t.c\00", section "llvm.metadata"
define void @foo() {
entry:
%m = alloca i8, align 4
%0 = call ptr @llvm.ptr.annotation.p0(ptr %m, ptr @.str, ptr @.str1, i32 2, ptr null)
store i8 1, ptr %0, align 4
ret void
}
declare ptr @llvm.ptr.annotation.p0(ptr, ptr, ptr, i32, ptr) #1
|