This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Remove Waymarking.h as it is unused
ClosedPublic

Authored by aaron.ballman on Jan 28 2022, 6:33 AM.

Details

Summary

This file was added in https://reviews.llvm.org/D74415. There was no justification as to why it was added, and after about a year of being in-tree, it's still unused, so this removes it.

(Note, this is coming up now because it's caused me some pain as a reviewer; someone was trying to fix the broken Doxygen comments in the file and that's when we realized there are no uses of it.)

Diff Detail

Event Timeline

aaron.ballman created this revision.Jan 28 2022, 6:33 AM
aaron.ballman requested review of this revision.Jan 28 2022, 6:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 28 2022, 6:33 AM
rriddle accepted this revision.Jan 28 2022, 11:11 AM

IIRC the intention was that it was abstracting the mechanism used by LLVM uses to potentially be used elsewhere. If that use never manifested (e.g. we haven't used it in MLIR), +1 on just deleting it.

This revision is now accepted and ready to land.Jan 28 2022, 11:11 AM
MaskRay accepted this revision.Jan 28 2022, 11:14 AM
MaskRay added a subscriber: MaskRay.

I think when such utilities were added, there really should have been a dependent patch to demonstrate its use.

I think when such utilities were added, there really should have been a dependent patch to demonstrate its use.

Agreed.

I think when such utilities were added, there really should have been a dependent patch to demonstrate its use.

Agreed.

Thanks all for the quick reviews. I've removed the functionality in f489e86a24d38015197597beb88ff357cd7681b9.

llvm/include/llvm/ADT/Waymarking.h