commit | 3afc883be9a7a596d53c62ca8de868c681acfd18 | [log] [tgz] |
---|---|---|
author | Yaxun Liu <Yaxun.Liu@amd.com> | Fri Feb 24 20:27:25 2017 +0000 |
committer | Yaxun Liu <Yaxun.Liu@amd.com> | Fri Feb 24 20:27:25 2017 +0000 |
tree | 10c4d125a72a65e2bef09a36adad25a3ef0220a9 | |
parent | de428a4c0b8316d10aa251a953efb46d7b4648d9 [diff] |
[InstCombine] Fix bug in pointer replacement This optimisation was crashing when there was a chain of more than one bitcast instruction to replace, as a result of the changes in D27283. Patch by James Price. Differential Revision: https://reviews.llvm.org/D30347 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296163 91177308-0d34-0410-b5e6-96231b3b80d8