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
- Build Status
Buildable 18530 Build 18530: arc lint + arc unit
Event Timeline
Comment Actions
LGTM with a nitpick. Thanks!
test/DebugInfo/sink-bitcast-di.ll | ||
---|---|---|
1 | This test doesn't rely on the output of -check-debugify, so you can just use "-debugify" here. |
This test doesn't rely on the output of -check-debugify, so you can just use "-debugify" here.