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: {{[[:space:]]$}}
37 # CHECK-NEXT: BuildPairF64
40 $d0 = BuildPairF64 $zero, $zero
42 JAL @foo, implicit-def $ra
47 name: testBuildPairF64_64
48 # CHECK-LABEL: name: testBuildPairF64_64
50 # CHECK-NEXT: successors
51 # CHECK-NEXT: {{[[:space:]]$}}
52 # CHECK-NEXT: BuildPairF64_64
55 $d0_64 = BuildPairF64_64 $zero, $zero
57 JAL @foo, implicit-def $ra
62 name: testBuildPairF64implicitSp
63 # CHECK-LABEL: name: testBuildPairF64implicitSp
65 # CHECK-NEXT: successors
66 # CHECK-NEXT: {{[[:space:]]$}}
67 # CHECK-NEXT: $sp = ADDiu $sp, -{{[0-9]+}}
70 $d0 = BuildPairF64 $zero, $zero, implicit $sp
72 JAL @foo, implicit-def $ra
77 name: testBuildPairF64_64implicitSp
78 # CHECK-LABEL: name: testBuildPairF64_64implicitSp
80 # CHECK-NEXT: successors
81 # CHECK-NEXT: {{[[:space:]]$}}
82 # CHECK-NEXT: $sp = ADDiu $sp, -{{[0-9]+}}
85 $d0_64 = BuildPairF64_64 $zero, $zero, implicit $sp
87 JAL @foo, implicit-def $ra
92 name: testExtractElementF64
93 # CHECK-LABEL: name: testExtractElementF64
95 # CHECK-NEXT: successors
96 # CHECK-NEXT: {{[[:space:]]$}}
97 # CHECK-NEXT: ExtractElementF64
100 $at = ExtractElementF64 $d6, 1
102 JAL @foo, implicit-def $ra
107 name: testExtractElementF64_64
108 # CHECK-LABEL: name: testExtractElementF64_64
110 # CHECK-NEXT: successors
111 # CHECK-NEXT: {{[[:space:]]$}}
112 # CHECK-NEXT: ExtractElementF64_64
115 $at = ExtractElementF64_64 $d12_64, 1
117 JAL @foo, implicit-def $ra
122 name: testExtractElementF64implicitSp
123 # CHECK-LABEL: name: testExtractElementF64implicitSp
125 # CHECK-NEXT: successors
126 # CHECK-NEXT: {{[[:space:]]$}}
127 # CHECK-NEXT: $sp = ADDiu $sp, -{{[0-9]+}}
130 $at = ExtractElementF64 $d6, 1, implicit $sp
132 JAL @foo, implicit-def $ra
137 name: testExtractElementF64_64implicitSp
138 # CHECK-LABEL: name: testExtractElementF64_64implicitSp
140 # CHECK-NEXT: successors
141 # CHECK-NEXT: {{[[:space:]]$}}
142 # CHECK-NEXT: $sp = ADDiu $sp, -{{[0-9]+}}
145 $at = ExtractElementF64_64 $d12_64, 1, implicit $sp
147 JAL @foo, implicit-def $ra