Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: test/CodeGen/Generic/annotate.ll

Issue 183273009: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/CodeGen/ARM/vmul.ll ('k') | test/CodeGen/Generic/ptr-annotate.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.metadat a"
7
8
9 define i32 @foo(i32 %a) {
10 entry:
11 %0 = call i32 @llvm.annotation.i32(i32 %a, i8* getelementptr inbounds ([4 x i8 ]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8]* @.str1, i32 0, i3 2 0), i32 2)
12 ret i32 %0
13 }
14
15 declare i32 @llvm.annotation.i32(i32, i8*, i8*, i32) #1
OLDNEW
« no previous file with comments | « test/CodeGen/ARM/vmul.ll ('k') | test/CodeGen/Generic/ptr-annotate.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698