brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · e0fc237 Raw
60 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=riscv64 -mattr=+d -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \3# RUN: | FileCheck -check-prefix=RV64D %s4 5---6name:            implicit_def_gpr7legalized:       true8regBankSelected: true9body:             |10  bb.0:11    ; RV64D-LABEL: name: implicit_def_gpr12    ; RV64D: [[DEF:%[0-9]+]]:gpr = IMPLICIT_DEF13    ; RV64D-NEXT: [[ADD:%[0-9]+]]:gpr = ADD [[DEF]], [[DEF]]14    ; RV64D-NEXT: $x10 = COPY [[ADD]]15    %0:gprb(s64) = G_IMPLICIT_DEF16    %1:gprb(s64) = G_ADD %0, %017    $x10 = COPY %1(s64)18...19---20name:            implicit_def_copy_gpr21legalized:       true22regBankSelected: true23body:             |24  bb.0:25    ; RV64D-LABEL: name: implicit_def_copy_gpr26    ; RV64D: [[DEF:%[0-9]+]]:gpr = IMPLICIT_DEF27    ; RV64D-NEXT: $x10 = COPY [[DEF]]28    %0:gprb(s64) = G_IMPLICIT_DEF29    %1:gprb(s64) = COPY %0(s64)30    $x10 = COPY %1(s64)31...32 33---34name:            implicit_def_fpr35legalized:       true36regBankSelected: true37body:             |38  bb.0:39    ; RV64D-LABEL: name: implicit_def_fpr40    ; RV64D: [[DEF:%[0-9]+]]:fpr64 = IMPLICIT_DEF41    ; RV64D-NEXT: [[FADD_D:%[0-9]+]]:fpr64 = nofpexcept FADD_D [[DEF]], [[DEF]], 742    ; RV64D-NEXT: $f10_d = COPY [[FADD_D]]43    %0:fprb(s64) = G_IMPLICIT_DEF44    %1:fprb(s64) = G_FADD %0, %045    $f10_d = COPY %1(s64)46...47---48name:            implicit_def_copy_fpr49legalized:       true50regBankSelected: true51body:             |52  bb.0:53    ; RV64D-LABEL: name: implicit_def_copy_fpr54    ; RV64D: [[DEF:%[0-9]+]]:fpr64 = IMPLICIT_DEF55    ; RV64D-NEXT: $f10_d = COPY [[DEF]]56    %0:fprb(s64) = G_IMPLICIT_DEF57    %1:fprb(s64) = COPY %0(s64)58    $f10_d = COPY %1(s64)59...60