This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Treat empty metadata operands the same as undef operands in SelectionDAG
ClosedPublic

Authored by Orlando on Jan 4 2023, 7:13 AM.

Diff Detail

Event Timeline

Orlando created this revision.Jan 4 2023, 7:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2023, 7:13 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
Orlando requested review of this revision.Jan 4 2023, 7:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2023, 7:13 AM
This revision is now accepted and ready to land.Jan 4 2023, 9:09 AM

note to self: this could use convertToUndefExpression from D133929 when it lands

This revision was landed with ongoing or failed builds.Apr 26 2023, 1:03 AM
This revision was automatically updated to reflect the committed changes.

Heads up: this seems to make compilation non-determenistic (I am still trying to confirm).

Heads up: this seems to make compilation non-determenistic (I am still trying to confirm).

Likely fixed by https://reviews.llvm.org/D140901

Most curious.... I'm not sure off the top of my head why that'd be the case (either the issue or the fact that D140901 fixies it). SelectionDAG has a load of weird edge cases with debug info handling though. Thanks for looking into this, is there anything I can do to help?