Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / AArch64 / GlobalISel / select-extract.mir
blobd3795e36bd0493ba179e6a62f069bcf43ba3c0a2
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=instruction-select %s -o - | FileCheck %s
3 ...
4 ---
5 name:            extract_64_128
6 legalized:       true
7 regBankSelected: true
8 tracksRegLiveness: true
9 body:             |
10   bb.0:
11     liveins: $q0
13     ; CHECK-LABEL: name: extract_64_128
14     ; CHECK: liveins: $q0
15     ; CHECK-NEXT: {{  $}}
16     ; CHECK-NEXT: [[COPY:%[0-9]+]]:fpr128 = COPY $q0
17     ; CHECK-NEXT: [[COPY1:%[0-9]+]]:fpr64 = COPY [[COPY]].dsub
18     ; CHECK-NEXT: [[DUPi64_:%[0-9]+]]:fpr64 = DUPi64 [[COPY]], 1
19     ; CHECK-NEXT: $d3 = COPY [[COPY1]]
20     ; CHECK-NEXT: $d4 = COPY [[DUPi64_]]
21     ; CHECK-NEXT: RET_ReallyLR implicit $d3
22     %0:fpr(s128) = COPY $q0
23     %2:fpr(s64) = G_EXTRACT %0(s128), 0
24     %3:fpr(s64) = G_EXTRACT %0(s128), 64
25     $d3 = COPY %2(s64)
26     $d4 = COPY %3(s64)
27     RET_ReallyLR implicit $d3
29 ...