1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=riscv64 -mattr=+zbb -run-pass=instruction-select \
3 # RUN: -simplify-mir -verify-machineinstrs %s -o - | FileCheck %s
4 # RUN: llc -mtriple=riscv64 -mattr=+zbkb -run-pass=instruction-select \
5 # RUN: -simplify-mir -verify-machineinstrs %s -o - | FileCheck %s
13 ; CHECK-LABEL: name: bswap_s64
14 ; CHECK: [[COPY:%[0-9]+]]:gpr = COPY $x10
15 ; CHECK-NEXT: [[REV8_RV64_:%[0-9]+]]:gpr = REV8_RV64 [[COPY]]
16 ; CHECK-NEXT: $x10 = COPY [[REV8_RV64_]]
17 ; CHECK-NEXT: PseudoRET implicit $x10
18 %0:gprb(s64) = COPY $x10
19 %1:gprb(s64) = G_BSWAP %0
21 PseudoRET implicit $x10