commit | 14ac1dd2be4f72ae1e48a1fd1c2f9bedc7f980e2 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Sat Sep 18 04:45:14 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Sat Sep 18 04:45:14 2010 +0000 |
tree | 01a64e0cf949843d00bcdc8d16dfd47384a49c30 | |
parent | c109556a0a7f0dca78f60967c3560fcaa27097a0 [diff] |
Invert the logic of reachesChainWithoutSideEffects(). What we want to check is that there is NO path to the destination containing side effects, not that SOME path contains no side effects. In practice, this only manifests with CombinerAA enabled, because otherwise the chain has little to no branching, so "any" is effectively equivalent to "all". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114268 91177308-0d34-0410-b5e6-96231b3b80d8