1 # RUN: llc -mtriple=x86_64-unknown-linux-gnu -run-pass=machine-cp %s -o - | FileCheck %s 2 3 # Machine copy propagation can remove dead copies. Make sure that the 4 # DBG_VALUE does not keep the copy alive. 5 # 6 # CHECK-NOT: $ebx = COPY $eax 7 8 --- | 9 define void @fred() { 10 ret void 11 } 12 !1 = !DIExpression() 13 ... 14 15 --- 16 name: fred 17 tracksRegLiveness: true 18 body: | 19 bb.0: 20 liveins: $eax 21 $ebx = COPY $eax 22 DBG_VALUE debug-use $ebx, debug-use _, !1, !1 23 ... 24