Remove inserted instructions that are dead, e.g. due to InstSimplifyFolder simplifications. Root is assumed to be used and won't be removed.
Synopsis
Declared in <llvm/Transforms/Utils/ScalarEvolutionExpander.h>
void
eraseDeadInstructions(Value* Root);
Parameters
Name |
Description |
Root |
Value that is considered live and must not be removed. |
Created with MrDocs