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

Side by Side Diff: tests_lit/llvm2ice_tests/callindirect.pnacl.ll

Issue 955003002: Subzero: Clean up function header emission. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix the tests that were broken as a result Created 5 years, 9 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/branch-opt.ll ('k') | tests_lit/llvm2ice_tests/cmp-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 ; Test of multiple indirect calls to the same target. Each call 1 ; Test of multiple indirect calls to the same target. Each call
2 ; should be to the same operand, whether it's in a register or on the 2 ; should be to the same operand, whether it's in a register or on the
3 ; stack. 3 ; stack.
4 4
5 ; RUN: %p2i --assemble --disassemble -i %s --args -O2 --verbose none \ 5 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -O2 \
6 ; RUN: | FileCheck %s 6 ; RUN: | FileCheck %s
7 ; RUN: %p2i --assemble --disassemble -i %s --args -Om1 --verbose none \ 7 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -Om1 \
8 ; RUN: | FileCheck --check-prefix=OPTM1 %s 8 ; RUN: | FileCheck --check-prefix=OPTM1 %s
9 9
10 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 10 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
11 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 11 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4
12 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 12 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8
13 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 13 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
14 14
15 define internal void @CallIndirect(i32 %f) { 15 define internal void @CallIndirect(i32 %f) {
16 entry: 16 entry:
17 %__1 = inttoptr i32 %f to void ()* 17 %__1 = inttoptr i32 %f to void ()*
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ; define internal void @CallIndirectConst() { 66 ; define internal void @CallIndirectConst() {
67 ; entry: 67 ; entry:
68 ; %__1 = inttoptr i32 66496 to void ()* 68 ; %__1 = inttoptr i32 66496 to void ()*
69 ; call void %__1() 69 ; call void %__1()
70 ; call void %__1() 70 ; call void %__1()
71 ; call void %__1() 71 ; call void %__1()
72 ; call void %__1() 72 ; call void %__1()
73 ; call void %__1() 73 ; call void %__1()
74 ; ret void 74 ; ret void
75 ; } 75 ; }
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/branch-opt.ll ('k') | tests_lit/llvm2ice_tests/cmp-opt.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698