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

Side by Side Diff: test/CodeGen/Mips/emergency-spill-slot-near-fp.ll

Issue 2470173003: Cherry-pick r237153: [Mips] Return false for isFPCloseToIncomingSP() (Closed)
Patch Set: Created 4 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 | « lib/Target/Mips/MipsFrameLowering.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; Check that register scavenging spill slot is close to $fp.
2 ; RUN: llc -march=mipsel -O0 < %s | FileCheck %s
3
4 ; CHECK: sw ${{.*}}, 4($fp)
5 ; CHECK: lw ${{.*}}, 4($fp)
6
7 define i32 @main(i32 signext %argc, i8** %argv) "no-frame-pointer-elim"="true" {
8 entry:
9 %retval = alloca i32, align 4
10 %argc.addr = alloca i32, align 4
11 %argv.addr = alloca i8**, align 4
12 %v0 = alloca <16 x i8>, align 16
13 %.compoundliteral = alloca <16 x i8>, align 16
14 %v1 = alloca <16 x i8>, align 16
15 %.compoundliteral1 = alloca <16 x i8>, align 16
16 %unused_variable = alloca [16384 x i32], align 4
17 %result = alloca <16 x i8>, align 16
18 store i32 0, i32* %retval
19 store i32 %argc, i32* %argc.addr, align 4
20 store i8** %argv, i8*** %argv.addr, align 4
21 store <16 x i8> <i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15, i8 16>, <16 x i8>* %.compoundliteral
22 %0 = load <16 x i8>, <16 x i8>* %.compoundliteral
23 store <16 x i8> %0, <16 x i8>* %v0, align 16
24 store <16 x i8> zeroinitializer, <16 x i8>* %.compoundliteral1
25 %1 = load <16 x i8>, <16 x i8>* %.compoundliteral1
26 store <16 x i8> %1, <16 x i8>* %v1, align 16
27 %2 = load <16 x i8>, <16 x i8>* %v0, align 16
28 %3 = load <16 x i8>, <16 x i8>* %v1, align 16
29 %mul = mul <16 x i8> %2, %3
30 store <16 x i8> %mul, <16 x i8>* %result, align 16
31 ret i32 0
32 }
OLDNEW
« no previous file with comments | « lib/Target/Mips/MipsFrameLowering.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698