brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.7 KiB · dc88bb8 Raw
111 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -O0 -mtriple=mipsel-linux-gnu -run-pass=regbankselect -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS323--- |4 5  declare void @f_i32(i32)6  define void @g_i32() {entry: ret void}7 8  declare void @f_i64(i64)9  define void @g_i64() {entry: ret void}10 11  declare void @f_float(float)12  define void @g_float() {entry: ret void}13 14  declare void @f_double(double)15  define void @g_double() {entry: ret void}16 17...18---19name:            g_i3220alignment:       221legalized:       true22tracksRegLiveness: true23body:             |24  bb.1.entry:25    ; MIPS32-LABEL: name: g_i3226    ; MIPS32: [[DEF:%[0-9]+]]:gprb(s32) = G_IMPLICIT_DEF27    ; MIPS32: ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp28    ; MIPS32: $a0 = COPY [[DEF]](s32)29    ; MIPS32: JAL @f_i32, csr_o32, implicit-def $ra, implicit-def $sp, implicit $a030    ; MIPS32: ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp31    ; MIPS32: RetRA32    %0:_(s32) = G_IMPLICIT_DEF33    ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp34    $a0 = COPY %0(s32)35    JAL @f_i32, csr_o32, implicit-def $ra, implicit-def $sp, implicit $a036    ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp37    RetRA38 39...40---41name:            g_i6442alignment:       243legalized:       true44tracksRegLiveness: true45body:             |46  bb.1.entry:47    ; MIPS32-LABEL: name: g_i6448    ; MIPS32: [[DEF:%[0-9]+]]:gprb(s32) = G_IMPLICIT_DEF49    ; MIPS32: [[DEF1:%[0-9]+]]:gprb(s32) = G_IMPLICIT_DEF50    ; MIPS32: ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp51    ; MIPS32: $a0 = COPY [[DEF]](s32)52    ; MIPS32: $a1 = COPY [[DEF1]](s32)53    ; MIPS32: JAL @f_i64, csr_o32, implicit-def $ra, implicit-def $sp, implicit $a0, implicit $a154    ; MIPS32: ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp55    ; MIPS32: RetRA56    %0:_(s64) = G_IMPLICIT_DEF57    ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp58    %1:_(s32), %2:_(s32) = G_UNMERGE_VALUES %0(s64)59    $a0 = COPY %1(s32)60    $a1 = COPY %2(s32)61    JAL @f_i64, csr_o32, implicit-def $ra, implicit-def $sp, implicit $a0, implicit $a162    ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp63    RetRA64 65...66---67name:            g_float68alignment:       269legalized:       true70tracksRegLiveness: true71body:             |72  bb.1.entry:73    ; MIPS32-LABEL: name: g_float74    ; MIPS32: [[DEF:%[0-9]+]]:fprb(s32) = G_IMPLICIT_DEF75    ; MIPS32: ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp76    ; MIPS32: $f12 = COPY [[DEF]](s32)77    ; MIPS32: JAL @f_float, csr_o32, implicit-def $ra, implicit-def $sp, implicit $f1278    ; MIPS32: ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp79    ; MIPS32: RetRA80    %0:_(s32) = G_IMPLICIT_DEF81    ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp82    $f12 = COPY %0(s32)83    JAL @f_float, csr_o32, implicit-def $ra, implicit-def $sp, implicit $f1284    ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp85    RetRA86 87...88---89name:            g_double90alignment:       291legalized:       true92tracksRegLiveness: true93registers:94body:             |95  bb.1.entry:96    ; MIPS32-LABEL: name: g_double97    ; MIPS32: [[DEF:%[0-9]+]]:fprb(s64) = G_IMPLICIT_DEF98    ; MIPS32: ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp99    ; MIPS32: $d6 = COPY [[DEF]](s64)100    ; MIPS32: JAL @f_double, csr_o32, implicit-def $ra, implicit-def $sp, implicit $d6101    ; MIPS32: ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp102    ; MIPS32: RetRA103    %0:_(s64) = G_IMPLICIT_DEF104    ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp105    $d6 = COPY %0(s64)106    JAL @f_double, csr_o32, implicit-def $ra, implicit-def $sp, implicit $d6107    ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp108    RetRA109 110...111