summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-26 01:09:19 +0000
committerChris Lattner <sabre@nondot.org>2008-01-26 01:09:19 +0000
commit31e9edce1cfb329d920dc025df0c31e5d9bcc56e (patch)
treeab0c8e73783a21d07d6358a1fb943d3b6867378d /clang/CodeGen/CodeGenModule.cpp
parent720d8999c7f3ca9b26c83a95fb3bd8598e29c0d4 (diff)
downloadbcm5719-llvm-31e9edce1cfb329d920dc025df0c31e5d9bcc56e.tar.gz
bcm5719-llvm-31e9edce1cfb329d920dc025df0c31e5d9bcc56e.zip
Fix some bugs in SimplifyNodeWithTwoResults where it would call deletenode to
delete a node even if it was not dead in some cases. Instead, just add it to the worklist. Also, make sure to use the CombineTo methods, as it was doing things that were unsafe: the top level combine loop could touch dangling memory. This fixes CodeGen/Generic/2008-01-25-dag-combine-mul.ll llvm-svn: 46384
Diffstat (limited to 'clang/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud