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

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

Issue 600043002: Clean up run script to use for testing Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes for rebase from master. Created 6 years, 2 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 | « 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 ; RUN: %llvm2ice --verbose inst %s | FileCheck %s 3 ; RUN: %p2i -i %s --args --verbose inst | FileCheck %s
4 ; RUN: %llvm2ice --verbose none %s \ 4 ; RUN: %p2i -i %s --args --verbose none \
5 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj 5 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj
6 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 6 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
7 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 7 ; TODO(kschimpf) Find out why lc2i is needed.
8 ; RUN: %lc2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s
8 9
9 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 10 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
10 ; CHECK: .data 11 ; CHECK: .data
11 ; CHECK-NEXT: .local 12 ; CHECK-NEXT: .local
12 ; CHECK-NEXT: .align 4 13 ; CHECK-NEXT: .align 4
13 ; CHECK-NEXT: PrimitiveInit: 14 ; CHECK-NEXT: PrimitiveInit:
14 ; CHECK-NEXT: .byte 15 ; CHECK-NEXT: .byte
15 ; CHECK: .size PrimitiveInit, 4 16 ; CHECK: .size PrimitiveInit, 4
16 17
17 @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4 18 @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 124 }
124 125
125 define internal i32 @nacl_tp_tls_offset(i32 %size) { 126 define internal i32 @nacl_tp_tls_offset(i32 %size) {
126 entry: 127 entry:
127 %result = sub i32 0, %size 128 %result = sub i32 0, %size
128 ret i32 %result 129 ret i32 %result
129 } 130 }
130 131
131 ; ERRORS-NOT: ICE translation error 132 ; ERRORS-NOT: ICE translation error
132 ; DUMP-NOT: SZ 133 ; DUMP-NOT: SZ
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