commit | 3d431384f05c9defc84f36eafe220415cc12ee93 | [log] [tgz] |
---|---|---|
author | Torok Edwin <edwintorok@gmail.com> | Sun May 24 20:08:21 2009 +0000 |
committer | Torok Edwin <edwintorok@gmail.com> | Sun May 24 20:08:21 2009 +0000 |
tree | b2862e5ab05168bc4962026d14765715ac8b60e5 | |
parent | 3790fb0c036acaa4db50aff83dd8b3bf51f8af6a [diff] |
Move Rewriter.clear() earlier, to avoid triggerring the AssertingVH by one of the RecursivelyDeleteTriviallyDeadInstructions. Add a comment explaining why the cache needs to be cleared. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72372 91177308-0d34-0410-b5e6-96231b3b80d8