When a bitcast is being sunk in -codegenprepare pass, its DI wasn't
copied over to the newly created instruction. This patch fixes that
bug.
Details
Details
- Reviewers
vsk - Group Reviewers
debug-info - Commits
- rG9374c0432b9d: [DebugInfo] Maintain DI for sunken bitcasts
rL333133: [DebugInfo] Maintain DI for sunken bitcasts
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with a nitpick. Thanks!
test/DebugInfo/sink-bitcast-di.ll | ||
---|---|---|
1 ↗ | (On Diff #148288) | This test doesn't rely on the output of -check-debugify, so you can just use "-debugify" here. |