[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / GlobalISel / select-bitcast-bigendian.mir
blob03cc505b3e15b981bbb7f4b03db590825f60093a
1 # RUN: llc -O0 -mtriple=arm64eb-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
2 ---
3 name:            bitcast_v2f32_to_s64
4 legalized:       true
5 regBankSelected: true
7 body:             |
8   bb.0:
9     liveins: $x0
11     ; CHECK-LABEL: name: bitcast_v2f32_to_s64
12     ; CHECK: [[COPY:%[0-9]+]]:fpr64 = COPY $x0
13     ; CHECK: [[REV:%[0-9]+]]:fpr64 = REV64v2i32 [[COPY]]
14     ; CHECK: $x0 = COPY [[REV]]
15     %0:fpr(<2 x s32>) = COPY $x0
16     %1:fpr(s64) = G_BITCAST %0
17     $x0 = COPY %1(s64)
18 ...