brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.7 KiB · b9b725e Raw
103 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  define void @sdiv_i32() {entry: ret void}6  define void @srem_i32() {entry: ret void}7  define void @udiv_i32() {entry: ret void}8  define void @urem_i32() {entry: ret void}9 10...11---12name:            sdiv_i3213alignment:       414legalized:       true15tracksRegLiveness: true16body:             |17  bb.1.entry:18    liveins: $a0, $a119 20    ; MIPS32-LABEL: name: sdiv_i3221    ; MIPS32: liveins: $a0, $a122    ; MIPS32: [[COPY:%[0-9]+]]:gprb(s32) = COPY $a023    ; MIPS32: [[COPY1:%[0-9]+]]:gprb(s32) = COPY $a124    ; MIPS32: [[SDIV:%[0-9]+]]:gprb(s32) = G_SDIV [[COPY1]], [[COPY]]25    ; MIPS32: $v0 = COPY [[SDIV]](s32)26    ; MIPS32: RetRA implicit $v027    %0:_(s32) = COPY $a028    %1:_(s32) = COPY $a129    %2:_(s32) = G_SDIV %1, %030    $v0 = COPY %2(s32)31    RetRA implicit $v032 33...34---35name:            srem_i3236alignment:       437legalized:       true38tracksRegLiveness: true39body:             |40  bb.1.entry:41    liveins: $a0, $a142 43    ; MIPS32-LABEL: name: srem_i3244    ; MIPS32: liveins: $a0, $a145    ; MIPS32: [[COPY:%[0-9]+]]:gprb(s32) = COPY $a046    ; MIPS32: [[COPY1:%[0-9]+]]:gprb(s32) = COPY $a147    ; MIPS32: [[SREM:%[0-9]+]]:gprb(s32) = G_SREM [[COPY1]], [[COPY]]48    ; MIPS32: $v0 = COPY [[SREM]](s32)49    ; MIPS32: RetRA implicit $v050    %0:_(s32) = COPY $a051    %1:_(s32) = COPY $a152    %2:_(s32) = G_SREM %1, %053    $v0 = COPY %2(s32)54    RetRA implicit $v055 56...57---58name:            udiv_i3259alignment:       460legalized:       true61tracksRegLiveness: true62body:             |63  bb.1.entry:64    liveins: $a0, $a165 66    ; MIPS32-LABEL: name: udiv_i3267    ; MIPS32: liveins: $a0, $a168    ; MIPS32: [[COPY:%[0-9]+]]:gprb(s32) = COPY $a069    ; MIPS32: [[COPY1:%[0-9]+]]:gprb(s32) = COPY $a170    ; MIPS32: [[UDIV:%[0-9]+]]:gprb(s32) = G_UDIV [[COPY1]], [[COPY]]71    ; MIPS32: $v0 = COPY [[UDIV]](s32)72    ; MIPS32: RetRA implicit $v073    %0:_(s32) = COPY $a074    %1:_(s32) = COPY $a175    %2:_(s32) = G_UDIV %1, %076    $v0 = COPY %2(s32)77    RetRA implicit $v078 79...80---81name:            urem_i3282alignment:       483legalized:       true84tracksRegLiveness: true85body:             |86  bb.1.entry:87    liveins: $a0, $a188 89    ; MIPS32-LABEL: name: urem_i3290    ; MIPS32: liveins: $a0, $a191    ; MIPS32: [[COPY:%[0-9]+]]:gprb(s32) = COPY $a092    ; MIPS32: [[COPY1:%[0-9]+]]:gprb(s32) = COPY $a193    ; MIPS32: [[UREM:%[0-9]+]]:gprb(s32) = G_UREM [[COPY1]], [[COPY]]94    ; MIPS32: $v0 = COPY [[UREM]](s32)95    ; MIPS32: RetRA implicit $v096    %0:_(s32) = COPY $a097    %1:_(s32) = COPY $a198    %2:_(s32) = G_UREM %1, %099    $v0 = COPY %2(s32)100    RetRA implicit $v0101 102...103