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

Side by Side Diff: tests_lit/llvm2ice_tests/branch-opt.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/llvm2ice_tests/bool-opt.ll ('k') | tests_lit/llvm2ice_tests/branch-simple.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 ; Tests the branch optimizations under O2 (against a lack of 1 ; Tests the branch optimizations under O2 (against a lack of
2 ; optimizations under Om1). 2 ; optimizations under Om1).
3 3
4 ; RUN: %llvm2ice -O2 --verbose none %s \ 4 ; RUN: %p2i -i %s --args -O2 --verbose none \
5 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 5 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
6 ; RUN: | llvm-objdump -d -symbolize -x86-asm-syntax=intel - \ 6 ; RUN: | llvm-objdump -d -symbolize -x86-asm-syntax=intel - \
7 ; RUN: | FileCheck --check-prefix=O2 %s 7 ; RUN: | FileCheck --check-prefix=O2 %s
8 ; RUN: %llvm2ice -Om1 --verbose none %s \ 8 ; RUN: %p2i -i %s --args -Om1 --verbose none \
9 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 9 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
10 ; RUN: | llvm-objdump -d -symbolize -x86-asm-syntax=intel - \ 10 ; RUN: | llvm-objdump -d -symbolize -x86-asm-syntax=intel - \
11 ; RUN: | FileCheck --check-prefix=OM1 %s 11 ; RUN: | FileCheck --check-prefix=OM1 %s
12 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 12 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
13 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 13 ; RUN: %p2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s
14 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
15 ; RUN: | FileCheck --check-prefix=DUMP %s
16 14
17 declare void @dummy() 15 declare void @dummy()
18 16
19 ; An unconditional branch to the next block should be removed. 17 ; An unconditional branch to the next block should be removed.
20 define void @testUncondToNextBlock() { 18 define void @testUncondToNextBlock() {
21 entry: 19 entry:
22 call void @dummy() 20 call void @dummy()
23 br label %next 21 br label %next
24 next: 22 next:
25 call void @dummy() 23 call void @dummy()
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ; OM1: cmp 93 ; OM1: cmp
96 ; OM1: jne 94 ; OM1: jne
97 ; OM1: jmp 95 ; OM1: jmp
98 ; OM1: call 96 ; OM1: call
99 ; OM1: ret 97 ; OM1: ret
100 ; OM1: call 98 ; OM1: call
101 ; OM1: ret 99 ; OM1: ret
102 100
103 ; ERRORS-NOT: ICE translation error 101 ; ERRORS-NOT: ICE translation error
104 ; DUMP-NOT: SZ 102 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/bool-opt.ll ('k') | tests_lit/llvm2ice_tests/branch-simple.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698