Skip to content
Commit b92b13d8 authored by Owen Anderson's avatar Owen Anderson
Browse files

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".

llvm-svn: 114268
parent 340b2baa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment