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

Side by Side Diff: test/NaCl/ARM/negative-addend.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod 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
« no previous file with comments | « test/NaCl/ARM/nacl-setlongjmp-intrinsics.ll ('k') | test/NaCl/ARM/neon-vld1-sandboxing.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: pnacl-llc -mtriple=arm-unknown-nacl -filetype=obj %s -o - \
2 ; RUN: | llvm-objdump -r - | FileCheck %s -check-prefix=ARM
3
4 ; Check that "add" works for negative values when used as a
5 ; ConstantExpr in a global variable initializer.
6 ; See: https://code.google.com/p/nativeclient/issues/detail?id=3548
7
8
9 ; @spacer and @var end up in the BSS section.
10 ; @spacer is at offset 0. @var is at offset 4096 = 0x1000.
11
12 @spacer = internal global [4096 x i8] zeroinitializer
13 @var = internal global i32 zeroinitializer
14
15 @negative_offset = internal global i32 add
16 (i32 ptrtoint (i32* @var to i32), i32 -8)
17
18 ; ARM: RELOCATION RECORDS
19 ; ARM-NEXT: 0 R_ARM_ABS32 .bss
OLDNEW
« no previous file with comments | « test/NaCl/ARM/nacl-setlongjmp-intrinsics.ll ('k') | test/NaCl/ARM/neon-vld1-sandboxing.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698