Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / PowerPC / stack_pointer_vec_spills.mir
blobb0615959d91c6585d71ed73822a18dd3682930d4
1 # RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr9 \
2 # RUN:     -start-before=prologepilog -ppc-enable-pe-vector-spills \
3 # RUN:     -ppc-asm-full-reg-names -verify-machineinstrs %s -o - | FileCheck %s
5 ---
6 name:            MixedSpill
7 alignment:       16
8 tracksRegLiveness: true
9 liveins:
10 body:             |
11   bb.0.entry:
12     $r14 = IMPLICIT_DEF
13     $f14 = IMPLICIT_DEF
14     $lr8 = IMPLICIT_DEF
15     BLR8 implicit undef $lr8, implicit undef $rm
17 # CHECK-LABEL: MixedSpill
18 # CHECK:       stdu r1, -176(r1)
19 # CHECK:       stfd f14, 32(r1)
20 # CHECK:       mtvsrd vs32, r14
21 # CHECK:       lfd f14, 32(r1)
22 # CHECK:       addi r1, r1, 176
23 # CHECK:       blr
24 ...
25 ---
26 name:            NoStackUpdate
27 alignment:       16
28 tracksRegLiveness: true
29 liveins:
30 body:             |
31   bb.0.entry:
32     $r14 = IMPLICIT_DEF
33     $f14 = IMPLICIT_DEF
34     BLR8 implicit undef $lr8, implicit undef $rm
36 # CHECK-LABEL: NoStackUpdate
37 # CHECK-NOT:   stdu
38 # CHECK:       mtvsrd vs32, r14
39 # CHECK:       mfvsrd r14, vs32
40 # CHECK:       blr
41 ...