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

Side by Side Diff: tests_lit/llvm2ice_tests/return-int-arg.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
OLDNEW
1 ; Simple test of functions returning one of its arguments. 1 ; Simple test of functions returning one of its arguments.
2 2
3 ; RUN: %llvm2ice --verbose inst %s | FileCheck %s 3 ; RUN: %p2i -i %s --args --verbose inst | FileCheck %s
4 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 4 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
5 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 5 ; RUN: %p2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s
6 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
7 ; RUN: | FileCheck --check-prefix=DUMP %s
8 6
9 define i32 @func_single_arg(i32 %a) { 7 define i32 @func_single_arg(i32 %a) {
10 ; CHECK: define i32 @func_single_arg 8 ; CHECK: define i32 @func_single_arg
11 entry: 9 entry:
12 ret i32 %a 10 ret i32 %a
13 ; CHECK: ret i32 %a 11 ; CHECK: ret i32 %a
14 } 12 }
15 13
16 define i32 @func_multiple_args(i32 %a, i32 %b, i32 %c) { 14 define i32 @func_multiple_args(i32 %a, i32 %b, i32 %c) {
17 ; CHECK: func_multiple_args 15 ; CHECK: func_multiple_args
18 entry: 16 entry:
19 ret i32 %c 17 ret i32 %c
20 ; CHECK: ret i32 %c 18 ; CHECK: ret i32 %c
21 } 19 }
22 20
23 ; ERRORS-NOT: ICE translation error 21 ; ERRORS-NOT: ICE translation error
24 ; DUMP-NOT: SZ 22 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/regalloc_evict_non_overlap.ll ('k') | tests_lit/llvm2ice_tests/returns_twice_no_coalesce.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698