commit | c5e6c649b5856c8f02726de014fa3d415a0cb87b | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Dec 01 18:00:57 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Dec 01 18:00:57 2005 +0000 |
tree | 78880672cf4d9f071fcca254c526d8605841a58f | |
parent | 6251b36d88b4cb5b256b67f3cd885f2f61f57d54 [diff] |
This is a bugfix for SelectNodeTo. In certain situations, we could be selecting a node and use a mix of getTargetNode() and SelectNodeTo. Because SelectNodeTo didn't check the CSE maps for a preexisting node and didn't insert its result into the CSE maps, we would sometimes miss a CSE opportunity. This is extremely rare, but worth fixing for completeness. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24565 91177308-0d34-0410-b5e6-96231b3b80d8