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

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

Issue 467103004: Subzero: Convert lit test llvm-mc -arch arguments to full -triple. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: x Created 6 years, 4 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/fpconst.pnacl.ll ('k') | tests_lit/llvm2ice_tests/mangle.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: %llvm2ice --verbose inst %s | FileCheck %s
4 ; RUIN: %llvm2ice --verbose none %s \ 4 ; RUIN: %llvm2ice --verbose none %s \
5 ; RUIN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj 5 ; RUIN: | 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: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
7 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 7 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
8 8
9 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 9 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
10 ; CHECK: .data 10 ; CHECK: .data
11 ; CHECK-NEXT: .align 4 11 ; CHECK-NEXT: .align 4
12 ; CHECK-NEXT: PrimitiveInit: 12 ; CHECK-NEXT: PrimitiveInit:
13 ; CHECK-NEXT: .byte 13 ; CHECK-NEXT: .byte
14 ; CHECK: .size PrimitiveInit, 4 14 ; CHECK: .size PrimitiveInit, 4
15 15
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 96 }
97 97
98 define internal i32 @nacl_tp_tls_offset(i32 %size) { 98 define internal i32 @nacl_tp_tls_offset(i32 %size) {
99 entry: 99 entry:
100 %result = sub i32 0, %size 100 %result = sub i32 0, %size
101 ret i32 %result 101 ret i32 %result
102 } 102 }
103 103
104 ; ERRORS-NOT: ICE translation error 104 ; ERRORS-NOT: ICE translation error
105 ; DUMP-NOT: SZ 105 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/fpconst.pnacl.ll ('k') | tests_lit/llvm2ice_tests/mangle.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698