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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D47347
[DebugInfo] Maintain DI when converting GEP to bitcast ClosedPublic Authored by ergawy on May 24 2018, 2:56 PM.
Details Summary When a GEP with all zero indices is converted to bitcast, its DI wasn't
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 24 2018, 3:16 PM Closed by commit rL333235: [DebugInfo] Maintain DI when converting GEP to bitcast (authored by vedantk). · Explain WhyMay 24 2018, 4:05 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 148497 llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp
llvm/trunk/test/DebugInfo/X86/bitcast-di.ll
llvm/trunk/test/DebugInfo/X86/sink-bitcast-di.ll
|