[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
[llvm-core.git] / test / CodeGen / AArch64 / GlobalISel / regbank-extract.mir
blob867e6a0e4da1291b777b55df4d7ca8f3b4acfd8d
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64-unknown-unknown -verify-machineinstrs -O0 -run-pass=regbankselect %s -o - | FileCheck %s
3 ---
4 name:            extract_s64_s128
5 alignment:       4
6 legalized:       true
7 tracksRegLiveness: true
8 body:             |
9   bb.1:
10     liveins: $q0
12     ; CHECK-LABEL: name: extract_s64_s128
13     ; CHECK: liveins: $q0
14     ; CHECK: [[COPY:%[0-9]+]]:fpr(s128) = COPY $q0
15     ; CHECK: [[EXTRACT:%[0-9]+]]:fpr(s64) = G_EXTRACT [[COPY]](s128), 0
16     ; CHECK: $d2 = COPY [[EXTRACT]](s64)
17     ; CHECK: RET_ReallyLR implicit $d2
18     %0:_(s128) = COPY $q0
19     %1:_(s64) = G_EXTRACT %0(s128), 0
20     $d2 = COPY %1(s64)
21     RET_ReallyLR implicit $d2
23 ...