brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 4fe05c6 Raw
40 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_half_fsqrt_constant6body:             |7  bb.1:8  liveins:9    ; CHECK-LABEL: name: test_combine_half_fsqrt_constant10    ; CHECK: [[C:%[0-9]+]]:_(s16) = G_FCONSTANT half 0xH400011    ; CHECK-NEXT: $h0 = COPY [[C]](s16)12    %0:_(s16) = G_FCONSTANT half 4.000000e+0013    %1:_(s16) = G_FSQRT %014    $h0 = COPY %115...16---17name:            test_combine_float_fsqrt_constant18body:             |19  bb.1:20  liveins:21    ; CHECK-LABEL: name: test_combine_float_fsqrt_constant22    ; CHECK: [[C:%[0-9]+]]:_(s32) = G_FCONSTANT float 2.000000e+0023    ; CHECK-NEXT: $w0 = COPY [[C]](s32)24    %0:_(s32) = G_FCONSTANT float 4.000000e+0025    %1:_(s32) = G_FSQRT %026    $w0 = COPY %127...28---29name:            test_combine_double_fsqrt_constant30body:             |31  bb.1:32  liveins:33    ; CHECK-LABEL: name: test_combine_double_fsqrt_constant34    ; CHECK: [[C:%[0-9]+]]:_(s64) = G_FCONSTANT double 2.000000e+0035    ; CHECK-NEXT: $x0 = COPY [[C]](s64)36    %0:_(s64) = G_FCONSTANT double 4.000000e+0037    %1:_(s64) = G_FSQRT %038    $x0 = COPY %139...40