28 lines · plain
1# RUN: llc %s -mtriple=x86_64 -run-pass=machineverifier \2# RUN: -experimental-debug-variable-locations -o - 2>&1 | FileCheck %s3#4# REQUIRES: x86-registered-target5#6# CHECK: debugValueSubstitutions:7# CHECK-NEXT: - { srcinst: 1, srcop: 0, dstinst: 2, dstop: 0, subreg: 0 }8#9# CHECK: MOV64rr $rdi, debug-instr-number 210# CHECK-NEXT: DBG_INSTR_REF dbg-instr-ref(1, 0)11---12name: test13tracksRegLiveness: true14debugInstrRef: true15liveins:16 - { reg: '$rdi', virtual-reg: '' }17debugValueSubstitutions:18 - { srcinst: 1, srcop: 0, dstinst: 2, dstop: 0, subreg: 0 }19body: |20 bb.0:21 liveins: $rdi, $rax22 $rbp = MOV64rr $rdi, debug-instr-number 223 DBG_INSTR_REF dbg-instr-ref(1, 0)24 dead $rcx = MOV64ri 025 CMP64ri8 renamable $rax, 1, implicit-def $eflags26 RET64 $rax27...28