You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
15
external/llvm/test/CodeGen/Generic/annotate.ll
vendored
Normal file
15
external/llvm/test/CodeGen/Generic/annotate.ll
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: llc < %s
|
||||
|
||||
; PR15253
|
||||
|
||||
@.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 i32 @foo(i32 %a) {
|
||||
entry:
|
||||
%0 = call i32 @llvm.annotation.i32(i32 %a, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str1, i32 0, i32 0), i32 2)
|
||||
ret i32 %0
|
||||
}
|
||||
|
||||
declare i32 @llvm.annotation.i32(i32, i8*, i8*, i32) #1
|
Reference in New Issue
Block a user