brintos

brintos / llvm-project-archived public Read only

0
0
Text · 407 B · e998d32 Raw
23 lines · plain
1# RUN: llc -mtriple=x86_64-unknown-linux-gnu -run-pass=machine-cp %s -o - | FileCheck %s2 3# Machine copy propagation can remove dead copies. Make sure that the4# DBG_VALUE does not keep the copy alive.5#6# CHECK-NOT: $ebx = COPY $eax7 8--- |9  define void @fred() {10    ret void11  }12...13 14---15name: fred16tracksRegLiveness: true17body: |18  bb.0:19    liveins: $eax20    $ebx = COPY $eax21    DBG_VALUE $ebx, _22...23