llvm/llvm/test/CodeGen/AArch64/sve2p1_copy_pnr.mir

# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -o - %s -mtriple=aarch64 -verify-machineinstrs -run-pass=postrapseudos -mattr=+sme2 | FileCheck %s
---
name:            pnr_to_ppr
alignment:       4
tracksRegLiveness: true
tracksDebugUserValues: true
frameInfo:
  maxAlignment:    1
  maxCallFrameSize: 0
machineFunctionInfo:
  hasRedZone:      false
body:             |
  bb.0:
    ; CHECK-LABEL: name: pnr_to_ppr
    ; CHECK: renamable $pn8 = PTRUE_C_D implicit $vg
    ; CHECK-NEXT: $p0 = ORR_PPzPP $p8, $p8, killed $p8
    ; CHECK-NEXT: RET_ReallyLR implicit killed $p0
    renamable $pn8 = PTRUE_C_D implicit $vg
    $p0 = COPY killed renamable $pn8
    RET_ReallyLR implicit killed $p0

...
---
name:            ppr_to_pnr
alignment:       4
tracksRegLiveness: true
tracksDebugUserValues: true
frameInfo:
  maxAlignment:    1
  maxCallFrameSize: 0
machineFunctionInfo:
  hasRedZone:      false
body:             |
  bb.0:
    ; CHECK-LABEL: name: ppr_to_pnr
    ; CHECK: renamable $p8 = PTRUE_H 31, implicit $vg
    ; CHECK-NEXT: $p0 = ORR_PPzPP $p8, $p8, killed $p8, implicit-def $pn0
    ; CHECK-NEXT: RET_ReallyLR implicit killed $pn0
    renamable $p8 = PTRUE_H 31, implicit $vg
    $pn0 = COPY killed renamable $p8
    RET_ReallyLR implicit killed $pn0

...
---
name:            pnr_to_pnr
alignment:       4
tracksRegLiveness: true
tracksDebugUserValues: true
frameInfo:
  maxAlignment:    1
  maxCallFrameSize: 0
machineFunctionInfo:
  hasRedZone:      false
body:             |
  bb.0:
    ; CHECK-LABEL: name: pnr_to_pnr
    ; CHECK: renamable $pn8 = PTRUE_C_H implicit $vg
    ; CHECK-NEXT: $p0 = ORR_PPzPP $p8, $p8, killed $p8, implicit-def $pn0
    ; CHECK-NEXT: RET_ReallyLR implicit killed $pn0
    renamable $pn8 = PTRUE_C_H implicit $vg
    $pn0 = COPY killed renamable $pn8
    RET_ReallyLR implicit killed $pn0

...