brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 923c41e Raw
50 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -O0 -mtriple=mipsel-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=FP323# RUN: llc -O0 -mtriple=mipsel-linux-gnu -mattr=+fp64,+mips32r2 -run-pass=legalizer -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:       414tracksRegLiveness: true15body:             |16  bb.1.entry:17    ; FP32-LABEL: name: e_single_precision18    ; FP32: [[C:%[0-9]+]]:_(s32) = G_FCONSTANT float 0x4005BF0A8000000019    ; FP32: $f0 = COPY [[C]](s32)20    ; FP32: RetRA implicit $f021    ; FP64-LABEL: name: e_single_precision22    ; FP64: [[C:%[0-9]+]]:_(s32) = G_FCONSTANT float 0x4005BF0A8000000023    ; FP64: $f0 = COPY [[C]](s32)24    ; FP64: RetRA implicit $f025    %0:_(s32) = G_FCONSTANT float 0x4005BF0A8000000026    $f0 = COPY %0(s32)27    RetRA implicit $f028 29...30---31name:            e_double_precision32alignment:       433tracksRegLiveness: true34body:             |35  bb.1.entry:36    ; FP32-LABEL: name: e_double_precision37    ; FP32: [[C:%[0-9]+]]:_(s64) = G_FCONSTANT double 0x4005BF0A8B14576938    ; FP32: $d0 = COPY [[C]](s64)39    ; FP32: RetRA implicit $d040    ; FP64-LABEL: name: e_double_precision41    ; FP64: [[C:%[0-9]+]]:_(s64) = G_FCONSTANT double 0x4005BF0A8B14576942    ; FP64: $d0 = COPY [[C]](s64)43    ; FP64: RetRA implicit $d044    %0:_(s64) = G_FCONSTANT double 0x4005BF0A8B14576945    $d0 = COPY %0(s64)46    RetRA implicit $d047 48...49 50