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

Side by Side Diff: tests_lit/llvm2ice_tests/simple-arith.ll

Issue 277033003: Modify pnacl subzero to be able to read pnacl bitcode files. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 years, 7 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/shift.ll ('k') | tests_lit/llvm2ice_tests/simple-cond.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 ; RUIN: %llvm2ice -verbose inst %s | FileCheck %s 1 ; RUIN: %llvm2ice -verbose inst %s | FileCheck %s
2 ; RUIN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 2 ; RUIN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
3 ; RUN: %szdiff --llvm2ice=%llvm2ice %s | FileCheck --check-prefix=DUMP %s 3 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
4 4 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
5 ; RUN: | FileCheck --check-prefix=DUMP %s
5 6
6 define i64 @add_args_i64(i64 %arg1, i64 %arg2) { 7 define i64 @add_args_i64(i64 %arg1, i64 %arg2) {
7 entry: 8 entry:
8 %add = add i64 %arg2, %arg1 9 %add = add i64 %arg2, %arg1
9 ret i64 %add 10 ret i64 %add
10 } 11 }
11 12
12 ; Checks for verbose instruction output 13 ; Checks for verbose instruction output
13 14
14 ; CHECK: define i64 @add_args 15 ; CHECK: define i64 @add_args
(...skipping 10 matching lines...) Expand all
25 26
26 ; CHECK: .globl add_args_i32 27 ; CHECK: .globl add_args_i32
27 ; CHECK: mov eax, dword ptr [esp+4] 28 ; CHECK: mov eax, dword ptr [esp+4]
28 ; CHECK-NEXT: mov ecx, dword ptr [esp+8] 29 ; CHECK-NEXT: mov ecx, dword ptr [esp+8]
29 ; CHECK-NEXT: add ecx, eax 30 ; CHECK-NEXT: add ecx, eax
30 ; CHECK-NEXT: mov eax, ecx 31 ; CHECK-NEXT: mov eax, ecx
31 ; CHECK-NEXT: ret 32 ; CHECK-NEXT: ret
32 33
33 ; ERRORS-NOT: ICE translation error 34 ; ERRORS-NOT: ICE translation error
34 ; DUMP-NOT: SZ 35 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/shift.ll ('k') | tests_lit/llvm2ice_tests/simple-cond.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698