source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/Generic/annotate.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 493 bytes
Line 
1; RUN: llc < %s
2
3; PR15253
4
5@.str = private unnamed_addr constant [4 x i8] c"sth\00", section "llvm.metadata"
6@.str1 = private unnamed_addr constant [4 x i8] c"t.c\00", section "llvm.metadata"
7
8
9define i32 @foo(i32 %a) {
10entry:
11  %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)
12  ret i32 %0
13}
14
15declare i32 @llvm.annotation.i32(i32, i8*, i8*, i32) #1
Note: See TracBrowser for help on using the repository browser.