[RISCV] Match vcompress during shuffle lowering (#117748)
[llvm-project.git] / llvm / test / CodeGen / AArch64 / GlobalISel / select-bitcast-bigendian.mir
blob74436c21d79d81b5d1b324ef2a3019532399d61b
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
2 # RUN: llc -O0 -mtriple=arm64eb-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
3 ---
4 name:            bitcast_v2f32_to_s64
5 legalized:       true
6 regBankSelected: true
8 body:             |
9   bb.0:
10     liveins: $x0
12     ; CHECK-LABEL: name: bitcast_v2f32_to_s64
13     ; CHECK: liveins: $x0
14     ; CHECK-NEXT: {{  $}}
15     ; CHECK-NEXT: [[COPY:%[0-9]+]]:fpr64 = COPY $x0
16     ; CHECK-NEXT: [[COPY1:%[0-9]+]]:gpr64 = COPY [[COPY]]
17     ; CHECK-NEXT: [[COPY2:%[0-9]+]]:fpr64 = COPY [[COPY1]]
18     ; CHECK-NEXT: [[REV64v2i32_:%[0-9]+]]:fpr64 = REV64v2i32 [[COPY2]]
19     ; CHECK-NEXT: $x0 = COPY [[REV64v2i32_]]
20     %0:fpr(<2 x s32>) = COPY $x0
21     %1:fpr(s64) = G_BITCAST %0
22     $x0 = COPY %1(s64)
23 ...