| commit | f094d77de87e11535f30c9ab27e2df85b2d136d6 | [log] [tgz] |
|---|---|---|
| author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Feb 07 21:37:08 2015 +0000 |
| committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Feb 07 21:37:08 2015 +0000 |
| tree | c8898da335d0c61790efb19961093eea9c8d2cc4 | |
| parent | a73284a2a4e8a0c1d3431eae3de376901717f6ba [diff] |
LoopIdiom: Use utility functions. The only difference between deleteIfDeadInstruction and RecursivelyDeleteTriviallyDeadInstructions is that the former also manually invalidates SCEV. That's unnecessary because SCEV automatically gets informed when an instruction is deleted via a ValueHandle. NFC. llvm-svn: 228508