aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
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
commit4a7c84596446d1027621302b1e5b616943a1d034 (patch)
tree7a5d62eac2a0a292784fc5d738aaff1ee206f391 /lib/Transforms
parent8aa8a5ed27e9146cb3e601a9cdf0ed481893116d (diff)
downloadexternal_llvm-4a7c84596446d1027621302b1e5b616943a1d034.tar.gz
external_llvm-4a7c84596446d1027621302b1e5b616943a1d034.tar.bz2
external_llvm-4a7c84596446d1027621302b1e5b616943a1d034.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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46384 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
0 files changed, 0 insertions, 0 deletions