Compiler projects using llvm
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=aarch64 -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s

...
---
name:            v2s64_v2p0_legal
tracksRegLiveness: true
body:             |
  bb.0:
    liveins: $q0

    ; CHECK-LABEL: name: v2s64_v2p0_legal
    ; CHECK: liveins: $q0
    ; CHECK: %ptr:_(<2 x p0>) = COPY $q0
    ; CHECK: %int:_(<2 x s64>) = G_PTRTOINT %ptr(<2 x p0>)
    ; CHECK: $q0 = COPY %int(<2 x s64>)
    ; CHECK: RET_ReallyLR implicit $q0
    %ptr:_(<2 x p0>) = COPY $q0
    %int:_(<2 x s64>) = G_PTRTOINT %ptr(<2 x p0>)
    $q0 = COPY %int(<2 x s64>)
    RET_ReallyLR implicit $q0
...