llvm/llvm/test/CodeGen/Generic/live-debug-vars-undef-use.mir

# RUN: llc -verify-machineinstrs -run-pass=livedebugvars -o - %s | FileCheck %s
# REQUIRES: aarch64-registered-target

--- |

  target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
  target triple = "aarch64--"
  define i64 @test() { ret i64 0 }

...

---
name: test
tracksRegLiveness: true
registers:
  - { id: 0, class: _ }
  - { id: 1, class: gpr64 }
body: |
  bb.0:
   ; CHECK-LABEL: bb.0
   ; CHECK-NEXT:   %1:gpr64(s64) = G_CONSTANT i64 0
   ; CHECK-NEXT:   RET %1(s64)
   DBG_VALUE %0, $noreg, $noreg, $noreg, $noreg
   %1(s64) = G_CONSTANT i64 0
   RET %1
...