diff options
author | Torok Edwin <edwintorok@gmail.com> | 2009-05-24 20:08:21 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2009-05-24 20:08:21 +0000 |
commit | 3d431384f05c9defc84f36eafe220415cc12ee93 (patch) | |
tree | b2862e5ab05168bc4962026d14765715ac8b60e5 /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
0 files changed, 0 insertions, 0 deletions