HomePhabricator

[Attributor][Fix] Do not remove instructions during manifestation

Authored by jdoerfert on Aug 5 2019, 2:35 PM.

Description

[Attributor][Fix] Do not remove instructions during manifestation

When we remove instructions cached references could still be live. This
patch avoids removing invoke instructions that are replaced by calls and
instead keeps them around but in a dead block.

llvm-svn: 367933

Details