brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.7 KiB · 8d94db8 Raw
115 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -O0 -mtriple=mipsel-linux-gnu -run-pass=instruction-select -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:       true22regBankSelected: true23tracksRegLiveness: true24body:             |25  bb.1.entry:26    ; MIPS32-LABEL: name: g_i3227    ; MIPS32: [[DEF:%[0-9]+]]:gpr32 = IMPLICIT_DEF28    ; MIPS32: ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp29    ; MIPS32: $a0 = COPY [[DEF]]30    ; MIPS32: JAL @f_i32, csr_o32, implicit-def $ra, implicit-def $sp, implicit $a031    ; MIPS32: ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp32    ; MIPS32: RetRA33    %0:gprb(s32) = G_IMPLICIT_DEF34    ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp35    $a0 = COPY %0(s32)36    JAL @f_i32, csr_o32, implicit-def $ra, implicit-def $sp, implicit $a037    ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp38    RetRA39 40...41---42name:            g_i6443alignment:       244legalized:       true45regBankSelected: true46tracksRegLiveness: true47body:             |48  bb.1.entry:49    ; MIPS32-LABEL: name: g_i6450    ; MIPS32: [[DEF:%[0-9]+]]:gpr32 = IMPLICIT_DEF51    ; MIPS32: [[DEF1:%[0-9]+]]:gpr32 = IMPLICIT_DEF52    ; MIPS32: ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp53    ; MIPS32: $a0 = COPY [[DEF]]54    ; MIPS32: $a1 = COPY [[DEF1]]55    ; MIPS32: JAL @f_i64, csr_o32, implicit-def $ra, implicit-def $sp, implicit $a0, implicit $a156    ; MIPS32: ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp57    ; MIPS32: RetRA58    %3:gprb(s32) = G_IMPLICIT_DEF59    %4:gprb(s32) = G_IMPLICIT_DEF60    ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp61    $a0 = COPY %3(s32)62    $a1 = COPY %4(s32)63    JAL @f_i64, csr_o32, implicit-def $ra, implicit-def $sp, implicit $a0, implicit $a164    ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp65    RetRA66 67...68---69name:            g_float70alignment:       271legalized:       true72regBankSelected: true73tracksRegLiveness: true74body:             |75  bb.1.entry:76    ; MIPS32-LABEL: name: g_float77    ; MIPS32: [[DEF:%[0-9]+]]:fgr32 = IMPLICIT_DEF78    ; MIPS32: ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp79    ; MIPS32: $f12 = COPY [[DEF]]80    ; MIPS32: JAL @f_float, csr_o32, implicit-def $ra, implicit-def $sp, implicit $f1281    ; MIPS32: ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp82    ; MIPS32: RetRA83    %0:fprb(s32) = G_IMPLICIT_DEF84    ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp85    $f12 = COPY %0(s32)86    JAL @f_float, csr_o32, implicit-def $ra, implicit-def $sp, implicit $f1287    ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp88    RetRA89 90...91---92name:            g_double93alignment:       294legalized:       true95regBankSelected: true96tracksRegLiveness: true97body:             |98  bb.1.entry:99    ; MIPS32-LABEL: name: g_double100    ; MIPS32: [[DEF:%[0-9]+]]:afgr64 = IMPLICIT_DEF101    ; MIPS32: ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp102    ; MIPS32: $d6 = COPY [[DEF]]103    ; MIPS32: JAL @f_double, csr_o32, implicit-def $ra, implicit-def $sp, implicit $d6104    ; MIPS32: ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp105    ; MIPS32: RetRA106    %0:fprb(s64) = G_IMPLICIT_DEF107    ADJCALLSTACKDOWN 16, 0, implicit-def $sp, implicit $sp108    $d6 = COPY %0(s64)109    JAL @f_double, csr_o32, implicit-def $ra, implicit-def $sp, implicit $d6110    ADJCALLSTACKUP 16, 0, implicit-def $sp, implicit $sp111    RetRA112 113...114 115