summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-19 21:44:21 +0000
committerDan Gohman <gohman@apple.com>2009-01-19 21:44:21 +0000
commitcd0b1bf0a06dec7da3860090d5a9d214a220753c (patch)
treee8c7f7a877aceb9d5e36d2d8db04532c64b97e97 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent634b6581ec7f3a8b17819fe997b54716837e2853 (diff)
downloadbcm5719-llvm-cd0b1bf0a06dec7da3860090d5a9d214a220753c.tar.gz
bcm5719-llvm-cd0b1bf0a06dec7da3860090d5a9d214a220753c.zip
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. llvm-svn: 62533
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud