brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.6 KiB · 9f93205 Raw
160 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -run-pass=aarch64-prelegalizer-combiner -verify-machineinstrs -mtriple aarch64-unknown-unknown %s -o - | FileCheck %s3 4---5name:            test_combine_nan_rhs_fminnum_half6body:             |7  bb.1:8  liveins:9    ; CHECK-LABEL: name: test_combine_nan_rhs_fminnum_half10    ; CHECK: [[COPY:%[0-9]+]]:_(s16) = COPY $h011    ; CHECK-NEXT: $h0 = COPY [[COPY]](s16)12    %0:_(s16) = COPY $h013    %1:_(s16) = G_FCONSTANT half 0xH7C0114    %2:_(s16) = G_FMINNUM %0, %115    $h0 = COPY %216...17---18name:            test_combine_nan_rhs_fminnum_float19body:             |20  bb.1:21  liveins:22    ; CHECK-LABEL: name: test_combine_nan_rhs_fminnum_float23    ; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $w024    ; CHECK-NEXT: $w0 = COPY [[COPY]](s32)25    %0:_(s32) = COPY $w026    %1:_(s32) = G_FCONSTANT float 0x7FF800000000000027    %2:_(s32) = G_FMINNUM %0, %128    $w0 = COPY %229...30---31name:            test_combine_nan_rhs_fminnum_double32body:             |33  bb.1:34  liveins:35    ; CHECK-LABEL: name: test_combine_nan_rhs_fminnum_double36    ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $x037    ; CHECK-NEXT: $x0 = COPY [[COPY]](s64)38    %0:_(s64) = COPY $x039    %1:_(s64) = G_FCONSTANT double 0x7FF800000000000040    %2:_(s64) = G_FMINNUM %0, %141    $x0 = COPY %242...43---44name:            test_combine_nan_lhs_fminnum_half45body:             |46  bb.1:47  liveins:48    ; CHECK-LABEL: name: test_combine_nan_lhs_fminnum_half49    ; CHECK: [[COPY:%[0-9]+]]:_(s16) = COPY $h050    ; CHECK-NEXT: $h0 = COPY [[COPY]](s16)51    %0:_(s16) = COPY $h052    %1:_(s16) = G_FCONSTANT half 0xH7C0153    %2:_(s16) = G_FMINNUM %1, %054    $h0 = COPY %255...56---57name:            test_combine_nan_lhs_fminnum_float58body:             |59  bb.1:60  liveins:61    ; CHECK-LABEL: name: test_combine_nan_lhs_fminnum_float62    ; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $w063    ; CHECK-NEXT: $w0 = COPY [[COPY]](s32)64    %0:_(s32) = COPY $w065    %1:_(s32) = G_FCONSTANT float 0x7FF800000000000066    %2:_(s32) = G_FMINNUM %1, %067    $w0 = COPY %268...69---70name:            test_combine_nan_lhs_fminnum_double71body:             |72  bb.1:73  liveins:74    ; CHECK-LABEL: name: test_combine_nan_lhs_fminnum_double75    ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $x076    ; CHECK-NEXT: $x0 = COPY [[COPY]](s64)77    %0:_(s64) = COPY $x078    %1:_(s64) = G_FCONSTANT double 0x7FF800000000000079    %2:_(s64) = G_FMINNUM %1, %080    $x0 = COPY %281...82---83name:            test_combine_nan_rhs_fmaxnum_half84body:             |85  bb.1:86  liveins:87    ; CHECK-LABEL: name: test_combine_nan_rhs_fmaxnum_half88    ; CHECK: [[COPY:%[0-9]+]]:_(s16) = COPY $h089    ; CHECK-NEXT: $h0 = COPY [[COPY]](s16)90    %0:_(s16) = COPY $h091    %1:_(s16) = G_FCONSTANT half 0xH7C0192    %2:_(s16) = G_FMAXNUM %0, %193    $h0 = COPY %294...95---96name:            test_combine_nan_rhs_fmaxnum_float97body:             |98  bb.1:99  liveins:100    ; CHECK-LABEL: name: test_combine_nan_rhs_fmaxnum_float101    ; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $w0102    ; CHECK-NEXT: $w0 = COPY [[COPY]](s32)103    %0:_(s32) = COPY $w0104    %1:_(s32) = G_FCONSTANT float 0x7FF8000000000000105    %2:_(s32) = G_FMAXNUM %0, %1106    $w0 = COPY %2107...108---109name:            test_combine_nan_rhs_fmaxnum_double110body:             |111  bb.1:112  liveins:113    ; CHECK-LABEL: name: test_combine_nan_rhs_fmaxnum_double114    ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $x0115    ; CHECK-NEXT: $x0 = COPY [[COPY]](s64)116    %0:_(s64) = COPY $x0117    %1:_(s64) = G_FCONSTANT double 0x7FF8000000000000118    %2:_(s64) = G_FMAXNUM %0, %1119    $x0 = COPY %2120...121---122name:            test_combine_nan_lhs_fmaxnum_half123body:             |124  bb.1:125  liveins:126    ; CHECK-LABEL: name: test_combine_nan_lhs_fmaxnum_half127    ; CHECK: [[COPY:%[0-9]+]]:_(s16) = COPY $h0128    ; CHECK-NEXT: $h0 = COPY [[COPY]](s16)129    %0:_(s16) = COPY $h0130    %1:_(s16) = G_FCONSTANT half 0xH7C01131    %2:_(s16) = G_FMAXNUM %1, %0132    $h0 = COPY %2133...134---135name:            test_combine_nan_lhs_fmaxnum_float136body:             |137  bb.1:138  liveins:139    ; CHECK-LABEL: name: test_combine_nan_lhs_fmaxnum_float140    ; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $w0141    ; CHECK-NEXT: $w0 = COPY [[COPY]](s32)142    %0:_(s32) = COPY $w0143    %1:_(s32) = G_FCONSTANT float 0x7FF8000000000000144    %2:_(s32) = G_FMAXNUM %1, %0145    $w0 = COPY %2146...147---148name:            test_combine_nan_lhs_fmaxnum_double149body:             |150  bb.1:151  liveins:152    ; CHECK-LABEL: name: test_combine_nan_lhs_fmaxnum_double153    ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $x0154    ; CHECK-NEXT: $x0 = COPY [[COPY]](s64)155    %0:_(s64) = COPY $x0156    %1:_(s64) = G_FCONSTANT double 0x7FF8000000000000157    %2:_(s64) = G_FMAXNUM %1, %0158    $x0 = COPY %2159...160