OSDN Git Service

[AMDGPU] Prevent Machine Copy Propagation from replacing live copy with the dead one
authorAlexander Timofeev <Alexander.Timofeev@amd.com>
Mon, 16 Oct 2017 14:35:29 +0000 (14:35 +0000)
committerAlexander Timofeev <Alexander.Timofeev@amd.com>
Mon, 16 Oct 2017 14:35:29 +0000 (14:35 +0000)
commit7811640b9af79a051baeffba4c81324731818df4
tree200cb365d1244de44d249cf17276771b836b3163
parentd2ca3a31240c4b6b161f7c2653cf307946922832
[AMDGPU] Prevent Machine Copy Propagation from replacing live copy with the dead one

Differential revision: https://reviews.llvm.org/D38754

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315908 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineCopyPropagation.cpp
test/CodeGen/AMDGPU/dead_copy.mir [new file with mode: 0644]