commit | b933586592afa9596edd466e127401bffeba3d4a | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Wed Jun 06 14:53:10 2012 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Wed Jun 06 14:53:10 2012 +0000 |
tree | 0aaa4adce3194aa52fe460d2e2a6d407abb667fd | |
parent | d14e4e133f940d0c1f454a40f3bd835a8c7a7886 [diff] |
Grab-bag of reassociate tweaks. Unify handling of dead instructions and instructions to reoptimize. Exploit this to more systematically eliminate dead instructions (this isn't very useful in practice but is convenient for analysing some testcase I am working on). No need for WeakVH any more: use an AssertingVH instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158073 91177308-0d34-0410-b5e6-96231b3b80d8