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

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

Issue 411693003: Validate the assembly code that Subzero generates in unit tests. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Comment out failing RUN lines. 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 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 5 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
5 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 6 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
6 7
7 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 8 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
8 ; CHECK: .data 9 ; CHECK: .data
9 ; CHECK-NEXT: .align 4 10 ; CHECK-NEXT: .align 4
10 ; CHECK-NEXT: PrimitiveInit: 11 ; CHECK-NEXT: PrimitiveInit:
11 ; CHECK-NEXT: .byte 12 ; CHECK-NEXT: .byte
12 ; CHECK: .size PrimitiveInit, 4 13 ; CHECK: .size PrimitiveInit, 4
13 14
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 95 }
95 96
96 define internal i32 @nacl_tp_tls_offset(i32 %size) { 97 define internal i32 @nacl_tp_tls_offset(i32 %size) {
97 entry: 98 entry:
98 %result = sub i32 0, %size 99 %result = sub i32 0, %size
99 ret i32 %result 100 ret i32 %result
100 } 101 }
101 102
102 ; ERRORS-NOT: ICE translation error 103 ; ERRORS-NOT: ICE translation error
103 ; DUMP-NOT: SZ 104 ; 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