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

Side by Side Diff: tests_lit/llvm2ice_tests/align-spill-locations.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/address-mode-opt.ll ('k') | tests_lit/llvm2ice_tests/alloc.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 ; This checks to ensure that Subzero aligns spill slots. 1 ; This checks to ensure that Subzero aligns spill slots.
2 2
3 ; RUN: %p2i --assemble --disassemble -i %s --args --verbose none \ 3 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -Om1 | FileCheck %s
4 ; RUN: | FileCheck %s 4 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -O2 | FileCheck %s
5 ; RUN: %p2i --assemble --disassemble -i %s --args -O2 --verbose none \
6 ; RUN: | FileCheck %s
7 5
8 ; The location of the stack slot for a variable is inferred from the 6 ; The location of the stack slot for a variable is inferred from the
9 ; return sequence. 7 ; return sequence.
10 8
11 ; In this file, "global" refers to a variable with a live range across 9 ; In this file, "global" refers to a variable with a live range across
12 ; multiple basic blocks (not an LLVM global variable) and "local" 10 ; multiple basic blocks (not an LLVM global variable) and "local"
13 ; refers to a variable that is live in only a single basic block. 11 ; refers to a variable that is live in only a single basic block.
14 12
15 define <4 x i32> @align_global_vector(i32 %arg) { 13 define <4 x i32> @align_global_vector(i32 %arg) {
16 entry: 14 entry:
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 ; CHECK-LABEL: align_local_vector_and_global_float 78 ; CHECK-LABEL: align_local_vector_and_global_float
81 ; CHECK: cvtsi2ss xmm0,eax 79 ; CHECK: cvtsi2ss xmm0,eax
82 ; CHECK-NEXT: movss DWORD PTR [esp+{{0xc|0x1c}}],xmm0 80 ; CHECK-NEXT: movss DWORD PTR [esp+{{0xc|0x1c}}],xmm0
83 ; CHECK: movups xmm0,XMMWORD PTR [{{esp|esp\+0x10}}] 81 ; CHECK: movups xmm0,XMMWORD PTR [{{esp|esp\+0x10}}]
84 ; CHECK-NEXT: add esp,0x2c 82 ; CHECK-NEXT: add esp,0x2c
85 ; CHECK-NEXT: ret 83 ; CHECK-NEXT: ret
86 } 84 }
87 85
88 declare void @ForceXmmSpillsAndUseAlloca(i8*) 86 declare void @ForceXmmSpillsAndUseAlloca(i8*)
89 declare void @ForceXmmSpillsAndUseFloat(float) 87 declare void @ForceXmmSpillsAndUseFloat(float)
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/address-mode-opt.ll ('k') | tests_lit/llvm2ice_tests/alloc.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698