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

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

Issue 1151093004: Changes from 3.7 merge to files not in upstream (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 7 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
1 ; RUN: llc < %s -mcpu=generic -mtriple=i686-unknown-nacl -relocation-model=pic - asm-verbose=false -post-RA-scheduler=false | FileCheck %s 1 ; RUN: llc < %s -mcpu=generic -mtriple=i686-unknown-nacl -relocation-model=pic - asm-verbose=false -post-RA-scheduler=false | FileCheck %s
2 2
3 @ptr = external global i32* 3 @ptr = external global i32*
4 @dst = external global i32 4 @dst = external global i32
5 @src = external global i32 5 @src = external global i32
6 6
7 define void @test0() nounwind { 7 define void @test0() nounwind {
8 entry: 8 entry:
9 store i32* @dst, i32** @ptr 9 store i32* @dst, i32** @ptr
10 %tmp.s = load i32* @src 10 %tmp.s = load i32, i32* @src
11 store i32 %tmp.s, i32* @dst 11 store i32 %tmp.s, i32* @dst
12 ret void 12 ret void
13 ; CHECK-LABEL: test0: 13 ; CHECK-LABEL: test0:
14 ; CHECK: calll .L0$pb 14 ; CHECK: calll .L0$pb
15 ; CHECK-NEXT: .L0$pb: 15 ; CHECK-NEXT: .L0$pb:
16 ; CHECK-NEXT: popl 16 ; CHECK-NEXT: popl
17 ; CHECK: addl $_GLOBAL_OFFSET_TABLE_+(.-.L0$pb), 17 ; CHECK: addl $_GLOBAL_OFFSET_TABLE_+(.-.L0$pb),
18 ; CHECK: movl dst@GOT(%eax), 18 ; CHECK: movl dst@GOT(%eax),
19 ; CHECK: movl ptr@GOT(%eax), 19 ; CHECK: movl ptr@GOT(%eax),
20 ; CHECK: movl src@GOT(%eax), 20 ; CHECK: movl src@GOT(%eax),
21 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698