commit | 79e90c55709c88278a2dbf5310d127360229d9f3 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Tue Feb 28 16:52:05 2017 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Tue Feb 28 16:52:05 2017 +0000 |
tree | 2a771ea4c9557d5d5349ae3e0680fdbe7221c9b3 | |
parent | b57bf30b4704bbbdcf0e03ae76fddac69cacf7f0 [diff] |
[DAGISel] When checking if chain node is foldable, make sure the intermediate nodes have a single use across all results not just the result that was used to reach the chain node. This recovers a test case that was severely broken by r296476, my making sure we don't create ADD/ADC that loads and stores when there is also a flag dependency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296486 91177308-0d34-0410-b5e6-96231b3b80d8