1 ; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
3 ; RUN: llc -mtriple=mips -mcpu=mips32r2 -O0 -relocation-model=pic -mattr=+fp64 \
4 ; RUN: -stop-before=prologepilog %s -o - | FileCheck %s
6 declare double @bar(double)
8 define double @foo(double %self) {
9 ; CHECK-LABEL: name: foo
11 ; CHECK: successors: %bb.1(0x80000000)
12 ; CHECK: liveins: $d12_64, $t9, $v0
13 ; CHECK: renamable $at = ADDu killed $v0, killed $t9
14 ; CHECK: renamable $d6_64 = COPY killed $d12_64
15 ; CHECK: ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp
16 ; CHECK: renamable $t9 = LW killed renamable $at, target-flags(mips-got) @bar
17 ; CHECK: dead $ra = JALR killed $t9, csr_o32_fp64, target-flags(mips-jalr) <mcsymbol bar>, implicit-def dead $ra, implicit killed $d6_64, implicit-def $d0_64
18 ; CHECK: ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp
19 ; CHECK: SDC164 killed $d0_64, %stack.0, 0 :: (store (s64) into %stack.0)
21 ; CHECK: $d0_64 = LDC164 %stack.0, 0 :: (load (s64) from %stack.0)
22 ; CHECK: RetRA implicit killed $d0_64
24 %0 = call double @bar(double %self)