This is an archive of the discontinued LLVM Phabricator instance.

[Assignment Tracking][25/*] Replace sunk address uses in dbg.assign intrinsics
ClosedPublic

Authored by Orlando on Oct 19 2022, 7:00 AM.

Diff Detail

Event Timeline

Orlando created this revision.Oct 19 2022, 7:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 19 2022, 7:00 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
Orlando requested review of this revision.Oct 19 2022, 7:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 19 2022, 7:00 AM

Not too important, but I'd find it preferable to delete the debug intrinsics for variables other than the one being tested, to reduce noise when reading the test. You could also remove debug intrinsics that aren't needed for the test to work, but YMMV on that.

llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll
5–6
Orlando planned changes to this revision.Nov 15 2022, 2:03 AM

Note to self: the test no longer works with opaque pointers, so I'll need to regenerate it.

Orlando updated this revision to Diff 476898.Nov 21 2022, 7:30 AM
Orlando marked an inline comment as done.

+ Replace test with one that uses opaque pointers.

StephenTozer accepted this revision.Nov 21 2022, 7:45 AM
This revision is now accepted and ready to land.Nov 21 2022, 7:45 AM
This revision was landed with ongoing or failed builds.Nov 21 2022, 7:51 AM
This revision was automatically updated to reflect the committed changes.