commit | 3eeba88631db6da7d45df67f677556297bd93f75 | [log] [tgz] |
---|---|---|
author | Pete Cooper <peter_cooper@apple.com> | Fri Aug 10 03:26:36 2012 +0000 |
committer | Pete Cooper <peter_cooper@apple.com> | Fri Aug 10 03:26:36 2012 +0000 |
tree | 1e67ecc8219d5c709e7766646ef6cf9bc12c3509 | |
parent | 15121ca0d18e6a0f6a16f8a696f4efc3782dc965 [diff] |
Fix crash when when do lto on Bullet. Dynamic GEPs in SROA were incorrectly being applied to all accesses to an alloca, not just the ones which read from the GEP. Thanks to Evan for reducing the test. rdar://11861001 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161654 91177308-0d34-0410-b5e6-96231b3b80d8