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

Side by Side Diff: tests_lit/llvm2ice_tests/globalinit.pnacl.ll

Issue 705513002: Subzero: Delete szdiff.py tests and ERRORS tests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove call.ll Created 6 years, 1 month 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 | « tests_lit/llvm2ice_tests/global.ll ('k') | tests_lit/llvm2ice_tests/icmp-simple.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Test of global initializers. 1 ; Test of global initializers.
2 2
3 ; Test -ias=0 to test the lea "hack" until we are fully confident in -ias=1 3 ; Test -ias=0 to test the lea "hack" until we are fully confident in -ias=1
4 ; RUN: %p2i -i %s --args --verbose none -ias=0 | FileCheck %s 4 ; RUN: %p2i -i %s --args --verbose none -ias=0 | FileCheck %s
5 5
6 ; Test -ias=1 and try to cross reference instructions w/ the symbol table. 6 ; Test -ias=1 and try to cross reference instructions w/ the symbol table.
7 ; RUN: %p2i -i %s --args --verbose none \ 7 ; RUN: %p2i -i %s --args --verbose none \
8 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ 8 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
9 ; RUN: | llvm-objdump -d -r --symbolize -x86-asm-syntax=intel - \ 9 ; RUN: | llvm-objdump -d -r --symbolize -x86-asm-syntax=intel - \
10 ; RUN: | FileCheck --check-prefix=IAS %s 10 ; RUN: | FileCheck --check-prefix=IAS %s
11 ; RUN: %p2i -i %s --args --verbose none \ 11 ; RUN: %p2i -i %s --args --verbose none \
12 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ 12 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
13 ; RUN: | llvm-objdump -d -t --symbolize -x86-asm-syntax=intel - \ 13 ; RUN: | llvm-objdump -d -t --symbolize -x86-asm-syntax=intel - \
14 ; RUN: | FileCheck --check-prefix=SYMTAB %s 14 ; RUN: | FileCheck --check-prefix=SYMTAB %s
15 15
16 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
17
18 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 16 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
19 ; CHECK: .type PrimitiveInit,@object 17 ; CHECK: .type PrimitiveInit,@object
20 ; CHECK-NEXT: .section .data,"aw",@progbits 18 ; CHECK-NEXT: .section .data,"aw",@progbits
21 ; CHECK-NEXT: .align 4 19 ; CHECK-NEXT: .align 4
22 ; CHECK-NEXT: PrimitiveInit: 20 ; CHECK-NEXT: PrimitiveInit:
23 ; CHECK-NEXT: .byte 21 ; CHECK-NEXT: .byte
24 ; CHECK: .size PrimitiveInit, 4 22 ; CHECK: .size PrimitiveInit, 4
25 23
26 @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4 24 @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4
27 ; CHECK: .type PrimitiveInitConst,@object 25 ; CHECK: .type PrimitiveInitConst,@object
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 define internal i32 @nacl_tp_tdb_offset(i32 %__0) { 156 define internal i32 @nacl_tp_tdb_offset(i32 %__0) {
159 entry: 157 entry:
160 ret i32 0 158 ret i32 0
161 } 159 }
162 160
163 define internal i32 @nacl_tp_tls_offset(i32 %size) { 161 define internal i32 @nacl_tp_tls_offset(i32 %size) {
164 entry: 162 entry:
165 %result = sub i32 0, %size 163 %result = sub i32 0, %size
166 ret i32 %result 164 ret i32 %result
167 } 165 }
168
169 ; ERRORS-NOT: ICE translation error
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/global.ll ('k') | tests_lit/llvm2ice_tests/icmp-simple.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698