commit | fca4ed2fcf54fe8530353c66549f74d5d28fe9e3 | [log] [tgz] |
---|---|---|
author | Vedant Kumar <vsk@apple.com> | Thu May 24 23:00:21 2018 +0000 |
committer | Vedant Kumar <vsk@apple.com> | Thu May 24 23:00:21 2018 +0000 |
tree | 4c26c97682141a3a72c26f0602f592caa7f3db5b | |
parent | f48234e221a729e98695300a795a6cdbd6a3e6e2 [diff] |
[DebugInfo] Maintain DI when converting GEP to bitcast When a GEP with all zero indices is converted to bitcast, its DI wasn't copied over to the newly created instruction. This patch fixes that bug. Patch by Kareem Ergawy! Differential Revision: https://reviews.llvm.org/D47347 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333235 91177308-0d34-0410-b5e6-96231b3b80d8