diff options
author | Dan Gohman <gohman@apple.com> | 2009-01-19 21:44:21 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-01-19 21:44:21 +0000 |
commit | dbe664adcddd8610952968d86791478c874cf1cd (patch) | |
tree | 5d0f6b564ca7fc6a240dde912ad6e20b096def3f /lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 2c7ed11d93239dacf81540e2307f0db456bb9122 (diff) |
Fix SelectionDAG::ReplaceAllUsesWith to behave correctly when
uses are added to the From node while it is processing From's
use list, because of automatic local CSE. The fix is to avoid
visiting any new uses.
Fix a few places in the DAGCombiner that assumed that after
a RAUW call, the From node has no users and may be deleted.
This fixes PR3018.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions