aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
diff options
context:
space:
mode:
authorSameer AbuAsal <sabuasal@codeaurora.org>2017-06-30 23:49:07 +0000
committerSameer AbuAsal <sabuasal@codeaurora.org>2017-06-30 23:49:07 +0000
commit65682941a3811a15a67b4a48dfbacb8c55a33d22 (patch)
tree6e3d7e8778501770c51f2c28c912fb8d017c212e /llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
parentc1c17833ff7bc9af4f2095523a7f21cce0af57d2 (diff)
downloadllvm-65682941a3811a15a67b4a48dfbacb8c55a33d22.zip
llvm-65682941a3811a15a67b4a48dfbacb8c55a33d22.tar.gz
llvm-65682941a3811a15a67b4a48dfbacb8c55a33d22.tar.bz2
[RegisterCoalescer] Account for instructions deleted by removePartialredunduncy and in WorkList
Summary: removePartialRedundency optimization introduces a state in the RegisterCoalescer where an instruction pointed to in the WorkList is deleted from the MBB and then removed from the ErasedList. This patch updates the ErasedList to be used globally by not erasing erased Instructions from it to solve the problem. The patch also accounts for the case where an Instruction was previously deleted and the same memory was reused by BuildMI to create a new instruction. Reviewers: kparzysz, qcolombet Reviewed By: qcolombet Subscribers: MatzeB, qcolombet, llvm-commits Differential Revision: https://reviews.llvm.org/D34902 llvm-svn: 306915
Diffstat (limited to 'llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp')
0 files changed, 0 insertions, 0 deletions