commit | 98df4f9cf2dea81af1cc2e68f23b285d22cebc6a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Feb 11 05:11:54 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Feb 11 05:11:54 2010 +0000 |
tree | 47c8b84c69a8ce4c6f5dc24df0ded8eac4168e6c | |
parent | 5cc25ce17d7d730b33803ae23a17c05a39427cce [diff] |
Make DSE only scan blocks that are reachable from the entry block. Other blocks may have pointer cycles that will crash basicaa and other alias analyses. In any case, there is no point wasting cycles optimizing dead blocks. This fixes rdar://7635088 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95852 91177308-0d34-0410-b5e6-96231b3b80d8