OSDN Git Service

Revert LIS handling in MachineDCE
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 9 Apr 2019 16:13:53 +0000 (16:13 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 9 Apr 2019 16:13:53 +0000 (16:13 +0000)
commitf53ab9d6ab8b98952633b9294df98c8f8c56ef96
tree75e0ee9370f586699deb0f8a0cd2001dbe7ee16e
parentd3a2e85cd8324bfa21b0ba8a30b826f37a89d2d8
Revert LIS handling in MachineDCE

One of out of tree targets has regressed with this patch. Reverting
it for now and let liveness to be fully reconstructed in case pass
was used after the LIS is created to resolve the regression.

Differential Revision: https://reviews.llvm.org/D60466

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358015 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/DeadMachineInstructionElim.cpp
test/CodeGen/AMDGPU/bswap.ll
test/CodeGen/AMDGPU/dce-disjoint-intervals.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/llvm.amdgcn.ds.ordered.swap.ll