brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · 4f0a688 Raw
51 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=FP323# RUN: llc -O0 -mtriple=mipsel-linux-gnu -mattr=+fp64,+mips32r2 -run-pass=regbankselect -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=FP644 5--- |6 7  define void @e_single_precision() {entry: ret void}8  define void @e_double_precision() {entry: ret void}9 10...11---12name:            e_single_precision13alignment:       414legalized:       true15tracksRegLiveness: true16body:             |17  bb.1.entry:18    ; FP32-LABEL: name: e_single_precision19    ; FP32: [[C:%[0-9]+]]:fprb(s32) = G_FCONSTANT float 0x4005BF0A8000000020    ; FP32: $f0 = COPY [[C]](s32)21    ; FP32: RetRA implicit $f022    ; FP64-LABEL: name: e_single_precision23    ; FP64: [[C:%[0-9]+]]:fprb(s32) = G_FCONSTANT float 0x4005BF0A8000000024    ; FP64: $f0 = COPY [[C]](s32)25    ; FP64: RetRA implicit $f026    %0:_(s32) = G_FCONSTANT float 0x4005BF0A8000000027    $f0 = COPY %0(s32)28    RetRA implicit $f029 30...31---32name:            e_double_precision33alignment:       434legalized:       true35tracksRegLiveness: true36body:             |37  bb.1.entry:38    ; FP32-LABEL: name: e_double_precision39    ; FP32: [[C:%[0-9]+]]:fprb(s64) = G_FCONSTANT double 0x4005BF0A8B14576940    ; FP32: $d0 = COPY [[C]](s64)41    ; FP32: RetRA implicit $d042    ; FP64-LABEL: name: e_double_precision43    ; FP64: [[C:%[0-9]+]]:fprb(s64) = G_FCONSTANT double 0x4005BF0A8B14576944    ; FP64: $d0 = COPY [[C]](s64)45    ; FP64: RetRA implicit $d046    %0:_(s64) = G_FCONSTANT double 0x4005BF0A8B14576947    $d0 = COPY %0(s64)48    RetRA implicit $d049 50...51