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

Side by Side Diff: test/NaCl/X86/pic-nacl-x8632.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: Created 5 years, 10 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
OLDNEW
(Empty)
1 ; RUN: llc < %s -mcpu=generic -mtriple=i686-unknown-nacl -relocation-model=pic - asm-verbose=false -post-RA-scheduler=false | FileCheck %s
2
3 @ptr = external global i32*
4 @dst = external global i32
5 @src = external global i32
6
7 define void @test0() nounwind {
8 entry:
9 store i32* @dst, i32** @ptr
10 %tmp.s = load i32* @src
11 store i32 %tmp.s, i32* @dst
12 ret void
13 ; CHECK-LABEL: test0:
14 ; CHECK: calll .L0$pb
15 ; CHECK-NEXT: .L0$pb:
16 ; CHECK-NEXT: popl
17 ; CHECK: addl $_GLOBAL_OFFSET_TABLE_+(.-.L0$pb),
18 ; CHECK: movl dst@GOT(%eax),
19 ; CHECK: movl ptr@GOT(%eax),
20 ; CHECK: movl src@GOT(%eax),
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698