diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2012-03-24 22:34:23 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2012-03-24 22:34:23 +0000 |
| commit | e41fc73f088ca987a87f0bf98afef3584a5e51c4 (patch) | |
| tree | 68219a1ebe156df6f5dd3c1a09d94bbfb55edab0 /llvm/lib/Transforms/Utils/Local.cpp | |
| parent | a573b2201583d2952fa9b43fbbdc66425e26548a (diff) | |
| download | llvm-e41fc73f088ca987a87f0bf98afef3584a5e51c4.zip llvm-e41fc73f088ca987a87f0bf98afef3584a5e51c4.tar.gz llvm-e41fc73f088ca987a87f0bf98afef3584a5e51c4.tar.bz2 | |
Don't add the instruction about to be RAUW'ed and erased to the
worklist. This can happen in theory when an instruction uses itself,
such as a PHI node. This was spotted by inspection, and unfortunately
I've not been able to come up with a test case that would trigger it. If
anyone has ideas, let me know...
llvm-svn: 153396
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions
