diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-04-02 22:45:17 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-04-02 22:45:17 +0000 |
commit | 17bf4922c9c6d9e12c1e13c09e16a6058fd24b7f (patch) | |
tree | cc633ffcf063402fdd68912f385819c3c6a08160 /llvm/lib/Object/Object.cpp | |
parent | 8baa2c7ad937a4a5bea7f368cc83b4dbce5295a3 (diff) | |
download | llvm-17bf4922c9c6d9e12c1e13c09e16a6058fd24b7f.zip llvm-17bf4922c9c6d9e12c1e13c09e16a6058fd24b7f.tar.gz llvm-17bf4922c9c6d9e12c1e13c09e16a6058fd24b7f.tar.bz2 |
PR9446: RecursivelyDeleteTriviallyDeadInstructions can delete the instruction
after the given instruction; make sure to handle that case correctly.
(It's difficult to trigger; the included testcase involves a dead
block, but I don't think that's a requirement.)
While I'm here, get rid of the unnecessary warning about
SimplifyInstructionsInBlock, since it should work correctly as far as I know.
llvm-svn: 128782
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions