commit | 1e038a8494c9b363cd03a1e239d3a6817d7edec3 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Sep 15 01:22:01 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Sep 15 01:22:01 2009 +0000 |
tree | 3e08d938c1ed60bb7884a1bbbd7fb686e2d2f2c1 | |
parent | 71524d716ad7da8f5a8e75085f9739aa6b772f9d [diff] |
Don't pull a load through a callseq_start if the load's chain has multiple uses, as one of the other uses may be on a path to a different node above the callseq_start, because that leads to a cyclic graph. This problem is exposed when -combiner-global-alias-analysis is used. This fixes PR4880. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81821 91177308-0d34-0410-b5e6-96231b3b80d8