Skip to content
Commit 17bf4922 authored by Eli Friedman's avatar Eli Friedman
Browse files

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
parent 8baa2c7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment