This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo][SelectionDAGISel] Do not drop all dbg.declares if one with empty metadata is found
ClosedPublic

Authored by Orlando on Jan 5 2023, 6:50 AM.

Details

Summary

This error was introduced (by me) in 1d1de7467c32d52926ca56b9167a2c65c451ecfa (~1 month ago).

Found while testing the D140901 patch stack. I'll rebase those changes on this because this is a clear-cut bug fix that should IMO be prioritised.

Diff Detail

Event Timeline

Orlando created this revision.Jan 5 2023, 6:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 5 2023, 6:50 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
Orlando requested review of this revision.Jan 5 2023, 6:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 5 2023, 6:50 AM
jryans accepted this revision.Jan 5 2023, 6:51 AM
jryans added a subscriber: jryans.

Thanks, this is an easy to follow bug fix and has good test coverage. 🙂

This revision is now accepted and ready to land.Jan 5 2023, 6:51 AM

Thank you for the very speedy review!

This revision was landed with ongoing or failed builds.Jan 5 2023, 7:38 AM
This revision was automatically updated to reflect the committed changes.