brintos

brintos / llvm-project-archived public Read only

0
0
Text · 817 B · 6cdfb76 Raw
24 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=riscv64 -mattr=+zbb -run-pass=instruction-select \3# RUN:   -simplify-mir -verify-machineinstrs %s -o - | FileCheck %s4# RUN: llc -mtriple=riscv64 -mattr=+zbkb -run-pass=instruction-select \5# RUN:   -simplify-mir -verify-machineinstrs %s -o - | FileCheck %s6 7---8name:            bswap_s649legalized:       true10regBankSelected: true11body:             |12  bb.0.entry:13    ; CHECK-LABEL: name: bswap_s6414    ; CHECK: [[COPY:%[0-9]+]]:gpr = COPY $x1015    ; CHECK-NEXT: [[REV8_RV64_:%[0-9]+]]:gpr = REV8_RV64 [[COPY]]16    ; CHECK-NEXT: $x10 = COPY [[REV8_RV64_]]17    ; CHECK-NEXT: PseudoRET implicit $x1018    %0:gprb(s64) = COPY $x1019    %1:gprb(s64) = G_BSWAP %020    $x10 = COPY %1(s64)21    PseudoRET implicit $x1022 23...24