brintos

brintos / llvm-project-archived public Read only

0
0
Text · 833 B · 4224c99 Raw
35 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 32# RUN: llc --mtriple=loongarch64 --mattr=+d %s -o - | FileCheck %s3 4## Check the PseudoCopyCFR instruction expand.5 6--- |7  target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"8  target triple = "loongarch64"9 10  define void @test() {11  ; CHECK-LABEL: test:12  ; CHECK:       # %bb.0:13  ; CHECK-NEXT:    fcmp.caf.s $fcc1, $fa0, $fa014  ; CHECK-NEXT:    bceqz $fcc0, .LBB0_215  ; CHECK-NEXT:  # %bb.1:16  ; CHECK-NEXT:    fcmp.cueq.s $fcc1, $fa0, $fa017  ; CHECK-NEXT:  .LBB0_2:18  ; CHECK-NEXT:    movcf2gr $a0, $fcc119  ; CHECK-NEXT:    ret20    ret void21  }22...23---24name: test25tracksRegLiveness: true26body:             |27  bb.0:28    liveins: $fcc029 30    $fcc1 = COPY $fcc031    $r4 = COPY $fcc132    PseudoRET implicit killed $r433 34...35