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

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

Issue 410743005: Ensure that llvm-mc parses unit tests in x86-32 mode. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Remove redundant test line. Created 6 years, 5 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 ; RUN: %llvm2ice --verbose none %s | llvm-mc -x86-asm-syntax=intel 4 ; RUIN: %llvm2ice --verbose none %s \
5 ; RUIN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj
5 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 6 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
6 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 7 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
7 8
8 @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
9 ; CHECK: .data 10 ; CHECK: .data
10 ; CHECK-NEXT: .align 4 11 ; CHECK-NEXT: .align 4
11 ; CHECK-NEXT: PrimitiveInit: 12 ; CHECK-NEXT: PrimitiveInit:
12 ; CHECK-NEXT: .byte 13 ; CHECK-NEXT: .byte
13 ; CHECK: .size PrimitiveInit, 4 14 ; CHECK: .size PrimitiveInit, 4
14 15
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 96 }
96 97
97 define internal i32 @nacl_tp_tls_offset(i32 %size) { 98 define internal i32 @nacl_tp_tls_offset(i32 %size) {
98 entry: 99 entry:
99 %result = sub i32 0, %size 100 %result = sub i32 0, %size
100 ret i32 %result 101 ret i32 %result
101 } 102 }
102 103
103 ; ERRORS-NOT: ICE translation error 104 ; ERRORS-NOT: ICE translation error
104 ; 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