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

Side by Side Diff: tests_lit/llvm2ice_tests/bitcast.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/llvm2ice_tests/arithmetic-chain.ll ('k') | tests_lit/llvm2ice_tests/bool-opt.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 ; Trivial smoke test of bitcast between integer and FP types. 1 ; Trivial smoke test of bitcast between integer and FP types.
2 2
3 ; RUN: %p2i -i %s --args -O2 --verbose none \ 3 ; RUN: %p2i -i %s --args -O2 --verbose none \
4 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ 4 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
5 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 5 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
6 ; RUN: %p2i -i %s --args -Om1 --verbose none \ 6 ; RUN: %p2i -i %s --args -Om1 --verbose none \
7 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ 7 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
8 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 8 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
9 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
10 ; RUN: %p2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s
11 9
12 define internal i32 @cast_f2i(float %f) { 10 define internal i32 @cast_f2i(float %f) {
13 entry: 11 entry:
14 %v0 = bitcast float %f to i32 12 %v0 = bitcast float %f to i32
15 ret i32 %v0 13 ret i32 %v0
16 } 14 }
17 ; CHECK-LABEL: cast_f2i 15 ; CHECK-LABEL: cast_f2i
18 ; CHECK: mov eax 16 ; CHECK: mov eax
19 ; CHECK: ret 17 ; CHECK: ret
20 18
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 define internal double @cast_ll2d_const() { 56 define internal double @cast_ll2d_const() {
59 entry: 57 entry:
60 %v0 = bitcast i64 12345678901234 to double 58 %v0 = bitcast i64 12345678901234 to double
61 ret double %v0 59 ret double %v0
62 } 60 }
63 ; CHECK-LABEL: cast_ll2d_const 61 ; CHECK-LABEL: cast_ll2d_const
64 ; CHECK: mov {{.*}}, 1942892530 62 ; CHECK: mov {{.*}}, 1942892530
65 ; CHECK: mov {{.*}}, 2874 63 ; CHECK: mov {{.*}}, 2874
66 ; CHECK: fld qword ptr 64 ; CHECK: fld qword ptr
67 ; CHECK: ret 65 ; CHECK: ret
68
69 ; ERRORS-NOT: ICE translation error
70 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/arithmetic-chain.ll ('k') | tests_lit/llvm2ice_tests/bool-opt.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698