commit | c303463dcceb6a3b15e6f4d11d7c31c1ac2ce276 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Tue Sep 25 10:03:40 2012 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Tue Sep 25 10:03:40 2012 +0000 |
tree | 39c283ce8ddbc51a15c1d9b2a2670e25c7ac3ed7 | |
parent | 00edf4c1d8a691543faf5adf7b05558497d38abb [diff] |
Fix a case where SROA did not correctly detect dead PHI or selects due to chains or cycles between PHIs and/or selects. Also add a couple of really nice test cases reduced from Kostya's reports in PR13905 and PR13906. Both are fixed by this patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164596 91177308-0d34-0410-b5e6-96231b3b80d8