1 # RUN: llc -o - %s -mtriple=mips-unknown-linux-gnu -enable-shrink-wrap=true \
2 # RUN: -start-before=shrink-wrap -stop-after=prologepilog | FileCheck %s
6 define void @testBuildPairF64() {
9 define void @testBuildPairF64_64() {
12 define void @testBuildPairF64implicitSp() {
15 define void @testBuildPairF64_64implicitSp() {
18 define void @testExtractElementF64() {
21 define void @testExtractElementF64_64() {
24 define void @testExtractElementF64implicitSp() {
27 define void @testExtractElementF64_64implicitSp() {
32 name: testBuildPairF64
33 # CHECK-LABEL: name: testBuildPairF64
35 # CHECK-NEXT: successors
36 # CHECK-NEXT: liveins:
37 # CHECK-NEXT: {{[[:space:]]$}}
39 # CHECK-NEXT: BuildPairF64
42 $d0 = BuildPairF64 $zero, $zero
44 JAL @foo, implicit-def $ra
49 name: testBuildPairF64_64
50 # CHECK-LABEL: name: testBuildPairF64_64
52 # CHECK-NEXT: successors
53 # CHECK-NEXT: liveins:
54 # CHECK-NEXT: {{[[:space:]]$}}
55 # CHECK-NEXT: BuildPairF64_64
58 $d0_64 = BuildPairF64_64 $zero, $zero
60 JAL @foo, implicit-def $ra
65 name: testBuildPairF64implicitSp
66 # CHECK-LABEL: name: testBuildPairF64implicitSp
68 # CHECK-NEXT: successors
69 # CHECK-NEXT: liveins:
70 # CHECK-NEXT: {{[[:space:]]$}}
71 # CHECK-NEXT: $sp = ADDiu $sp, -{{[0-9]+}}
74 $d0 = BuildPairF64 $zero, $zero, implicit $sp
76 JAL @foo, implicit-def $ra
81 name: testBuildPairF64_64implicitSp
82 # CHECK-LABEL: name: testBuildPairF64_64implicitSp
84 # CHECK-NEXT: successors
85 # CHECK-NEXT: liveins:
86 # CHECK-NEXT: {{[[:space:]]$}}
87 # CHECK-NEXT: $sp = ADDiu $sp, -{{[0-9]+}}
90 $d0_64 = BuildPairF64_64 $zero, $zero, implicit $sp
92 JAL @foo, implicit-def $ra
97 name: testExtractElementF64
98 # CHECK-LABEL: name: testExtractElementF64
100 # CHECK-NEXT: successors
101 # CHECK-NEXT: liveins:
102 # CHECK-NEXT: {{[[:space:]]$}}
103 # CHECK-NEXT: ExtractElementF64
106 $at = ExtractElementF64 $d6, 1
108 JAL @foo, implicit-def $ra
113 name: testExtractElementF64_64
114 # CHECK-LABEL: name: testExtractElementF64_64
116 # CHECK-NEXT: successors
117 # CHECK-NEXT: liveins:
118 # CHECK-NEXT: {{[[:space:]]$}}
119 # CHECK-NEXT: ExtractElementF64_64
122 $at = ExtractElementF64_64 $d12_64, 1
124 JAL @foo, implicit-def $ra
129 name: testExtractElementF64implicitSp
130 # CHECK-LABEL: name: testExtractElementF64implicitSp
132 # CHECK-NEXT: successors
133 # CHECK-NEXT: liveins:
134 # CHECK-NEXT: {{[[:space:]]$}}
135 # CHECK-NEXT: $sp = ADDiu $sp, -{{[0-9]+}}
138 $at = ExtractElementF64 $d6, 1, implicit $sp
140 JAL @foo, implicit-def $ra
145 name: testExtractElementF64_64implicitSp
146 # CHECK-LABEL: name: testExtractElementF64_64implicitSp
148 # CHECK-NEXT: successors
149 # CHECK-NEXT: liveins:
150 # CHECK-NEXT: {{[[:space:]]$}}
151 # CHECK-NEXT: $sp = ADDiu $sp, -{{[0-9]+}}
154 $at = ExtractElementF64_64 $d12_64, 1, implicit $sp
156 JAL @foo, implicit-def $ra