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

Side by Side Diff: tests_lit/llvm2ice_tests/64bit.pnacl.ll

Issue 705513002: Subzero: Delete szdiff.py tests and ERRORS tests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove call.ll Created 6 years, 1 month 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/8bit.pnacl.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: %p2i -i %s --args -O2 --verbose none \ 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: %p2i -i %s --args -O2 --verbose none \ 11 ; RUN: %p2i -i %s --args -O2 --verbose none \
12 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ 12 ; RUN: | llvm-mc -triple=i686-none-nacl -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: %p2i -i %s --args -Om1 --verbose none \ 14 ; RUN: %p2i -i %s --args -Om1 --verbose none \
15 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ 15 ; RUN: | llvm-mc -triple=i686-none-nacl -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: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
19 18
20 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 19 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
21 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 20 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4
22 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 21 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8
23 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 22 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
24 23
25 define internal i32 @ignore64BitArg(i64 %a, i32 %b, i64 %c) { 24 define internal i32 @ignore64BitArg(i64 %a, i32 %b, i64 %c) {
26 entry: 25 entry:
27 ret i32 %b 26 ret i32 %b
28 } 27 }
(...skipping 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after
1321 1320
1322 if.end3: ; preds = %if.then2, %if.end 1321 if.end3: ; preds = %if.then2, %if.end
1323 ret void 1322 ret void
1324 } 1323 }
1325 ; The following checks are not strictly necessary since one of the RUN 1324 ; The following checks are not strictly necessary since one of the RUN
1326 ; lines actually runs the output through the assembler. 1325 ; lines actually runs the output through the assembler.
1327 ; CHECK-LABEL: icmpLt64Imm 1326 ; CHECK-LABEL: icmpLt64Imm
1328 ; CHECK-NOT: cmp {{[0-9]+}}, 1327 ; CHECK-NOT: cmp {{[0-9]+}},
1329 ; OPTM1-LABEL: icmpLt64Imm 1328 ; OPTM1-LABEL: icmpLt64Imm
1330 ; OPTM1-NOT: cmp {{[0-9]+}}, 1329 ; OPTM1-NOT: cmp {{[0-9]+}},
1331
1332 ; ERRORS-NOT: ICE translation error
OLDNEW
« no previous file with comments | « tests_lit/lit.cfg ('k') | tests_lit/llvm2ice_tests/8bit.pnacl.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698