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

Side by Side Diff: tests_lit/llvm2ice_tests/64bit.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/lit.cfg ('k') | tests_lit/llvm2ice_tests/addr-opt-multi-def-var.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 ; This tries to be a comprehensive test of i64 operations, in 1 ; This tries to be a comprehensive test of i64 operations, in
2 ; particular the patterns for lowering i64 operations into constituent 2 ; particular the patterns for lowering i64 operations into constituent
3 ; i32 operations on x86-32. 3 ; i32 operations on x86-32.
4 4
5 ; TODO(jvoung): fix extra "CALLTARGETS" run. The llvm-objdump symbolizer 5 ; TODO(jvoung): fix extra "CALLTARGETS" run. The llvm-objdump symbolizer
6 ; doesn't know how to symbolize non-section-local functions. 6 ; doesn't know how to symbolize non-section-local functions.
7 ; The newer LLVM 3.6 one does work, but watch out for other bugs. 7 ; The newer LLVM 3.6 one does work, but watch out for other bugs.
8 8
9 ; RUN: %llvm2ice -O2 --verbose none %s \ 9 ; RUN: %p2i -i %s --args -O2 --verbose none \
10 ; RUN: | FileCheck --check-prefix=CALLTARGETS %s 10 ; RUN: | FileCheck --check-prefix=CALLTARGETS %s
11 ; RUN: %llvm2ice -O2 --verbose none %s \ 11 ; RUN: %p2i -i %s --args -O2 --verbose none \
12 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 12 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
13 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 13 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
14 ; RUN: %llvm2ice -Om1 --verbose none %s \ 14 ; RUN: %p2i -i %s --args -Om1 --verbose none \
15 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 15 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
16 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - \ 16 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - \
17 ; RUN: | FileCheck --check-prefix=OPTM1 %s 17 ; RUN: | FileCheck --check-prefix=OPTM1 %s
18 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 18 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
19 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 19 ; TODO(kschimpf) Find out why lc2i is needed.
20 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ 20 ; RUN: %lc2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s
21 ; RUN: | FileCheck --check-prefix=DUMP %s
22 21
23 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 22 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
24 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 23 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4
25 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 24 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8
26 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 25 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
27 26
28 define internal i32 @ignore64BitArg(i64 %a, i32 %b, i64 %c) { 27 define internal i32 @ignore64BitArg(i64 %a, i32 %b, i64 %c) {
29 entry: 28 entry:
30 ret i32 %b 29 ret i32 %b
31 } 30 }
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 } 1270 }
1272 ; The following checks are not strictly necessary since one of the RUN 1271 ; The following checks are not strictly necessary since one of the RUN
1273 ; lines actually runs the output through the assembler. 1272 ; lines actually runs the output through the assembler.
1274 ; CHECK-LABEL: icmpLt64Imm 1273 ; CHECK-LABEL: icmpLt64Imm
1275 ; CHECK-NOT: cmp {{[0-9]+}}, 1274 ; CHECK-NOT: cmp {{[0-9]+}},
1276 ; OPTM1-LABEL: icmpLt64Imm 1275 ; OPTM1-LABEL: icmpLt64Imm
1277 ; OPTM1-NOT: cmp {{[0-9]+}}, 1276 ; OPTM1-NOT: cmp {{[0-9]+}},
1278 1277
1279 ; ERRORS-NOT: ICE translation error 1278 ; ERRORS-NOT: ICE translation error
1280 ; DUMP-NOT: SZ 1279 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/lit.cfg ('k') | tests_lit/llvm2ice_tests/addr-opt-multi-def-var.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698