aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocLocal.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-12-15 22:00:51 +0000
committerBob Wilson <bob.wilson@apple.com>2009-12-15 22:00:51 +0000
commit970eaf2520760d9aa30ceb3a8d4a0dde4548784d (patch)
tree15ecc9db8502201612a10c36f17e941d72f177b5 /lib/CodeGen/RegAllocLocal.cpp
parent99ea6898e18ec1496907a90efedf5b21a2040ea0 (diff)
Reapply 91184 with fixes and an addition to the testcase to cover the problem
found last time. Instead of trying to modify the IR while iterating over it, I've change it to keep a list of WeakVH references to dead instructions, and then delete those instructions later. I also added some special case code to detect and handle the situation when both operands of a memcpy intrinsic are referencing the same alloca. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
0 files changed, 0 insertions, 0 deletions