aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-17 18:00:08 +0000
committerChris Lattner <sabre@nondot.org>2006-05-17 18:00:08 +0000
commit62f1b83c0e069dd94c0783b2d5ee0b90b09553ef (patch)
tree3e59afc7d533eddd64ea5d4f79947dfe9b37543b /llvm/lib/Transforms/Utils/CloneModule.cpp
parenta1cec0106a8d4f8bf216d3d79f52348c5f2c363a (diff)
downloadllvm-62f1b83c0e069dd94c0783b2d5ee0b90b09553ef.zip
llvm-62f1b83c0e069dd94c0783b2d5ee0b90b09553ef.tar.gz
llvm-62f1b83c0e069dd94c0783b2d5ee0b90b09553ef.tar.bz2
When we legalize target nodes, do not use getNode to create a new node,
use UpdateNodeOperands to just update the operands! This is important because getNode will allocate a new node if the node returns a flag and this breaks assumptions in the legalizer that you can legalize some things multiple times and get exactly the same results. This latent bug was exposed by my ppc patch last night, and this fixes gsm/toast. llvm-svn: 28348
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions