commit | 6b7f46e721a63aac7916167ea353a46896394883 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Sun Jan 24 05:26:18 2016 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Sun Jan 24 05:26:18 2016 +0000 |
tree | 6e0f8f78b97c8e6b3c0468fd4b27c4363d9efab5 | |
parent | 50a24fa5b1d06071fbf23ecf7a2a4441a4df3e08 [diff] |
[InstCombine, SCCP] Consolidate code used to remove instructions InstCombine and SCCP both want to remove dead code in a very particular way but using identical means to do so. Share the code between the two. No functionality change is intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258653 91177308-0d34-0410-b5e6-96231b3b80d8