aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/SymbolicFile.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2019-03-20 21:42:05 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2019-03-20 21:42:05 +0000
commit0a11829ab23ac478226cdf97cc0434dd4557abff (patch)
tree2f1de4422927687bb424accf3ffbb11f1936a4f5 /llvm/lib/Object/SymbolicFile.cpp
parent03675533043ddbf2ad27f260ccc410952977f574 (diff)
downloadllvm-0a11829ab23ac478226cdf97cc0434dd4557abff.zip
llvm-0a11829ab23ac478226cdf97cc0434dd4557abff.tar.gz
llvm-0a11829ab23ac478226cdf97cc0434dd4557abff.tar.bz2
Allow machine dce to remove uses in the same instruction
Machine DCE cannot remove a dead definition if there are non-dbg uses. A use however can be in the same instruction: dead %0 = INST %0 Such instructions sometimes created by Detect dead lanes pass. Allow this instruction to be deleted despite the use if the only use belongs to the same instruction. Differential Revision: https://reviews.llvm.org/D59565 llvm-svn: 356619
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions