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

Side by Side Diff: test/NaCl/ARM/blx-sandboxing.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: pnacl-llc -mtriple=armv7-unknown-nacl -filetype=obj %s -o - \ 1 ; RUN: pnacl-llc -mtriple=armv7-unknown-nacl -filetype=obj %s -o - \
2 ; RUN: | llvm-objdump -disassemble -triple armv7 - | FileCheck %s 2 ; RUN: | llvm-objdump -disassemble -triple armv7 - | FileCheck %s
3 3
4 define i32 @foobar(i32 %aa, i32 %bb, i32 (i32)* %f) nounwind { 4 define i32 @foobar(i32 %aa, i32 %bb, i32 (i32)* %f) nounwind {
5 entry: 5 entry:
6 %aa.addr = alloca i32, align 4 6 %aa.addr = alloca i32, align 4
7 %bb.addr = alloca i32, align 4 7 %bb.addr = alloca i32, align 4
8 %f.addr = alloca i32 (i32)*, align 8 8 %f.addr = alloca i32 (i32)*, align 8
9 %0 = load i32 (i32)** %f.addr, align 8 9 %0 = load i32 (i32)*, i32 (i32)** %f.addr, align 8
10 %1 = load i32* %aa.addr, align 4 10 %1 = load i32, i32* %aa.addr, align 4
11 %call1 = call i32 %0(i32 %1) 11 %call1 = call i32 %0(i32 %1)
12 ; CHECK: bic» r1, r1, #3221225487 12 ; CHECK: bic» r1, r1, #-1073741809
13 ; CHECK-NEXT: blx r1 13 ; CHECK-NEXT: blx r1
14 ret i32 %call1 14 ret i32 %call1
15 } 15 }
16 16
17 17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698