This is an archive of the discontinued LLVM Phabricator instance.

[ConstantHoisting] use BasicBlock::getFirstInsertionPt NFC
ClosedPublic

Authored by nickdesaulniers on Jul 11 2023, 11:47 AM.

Details

Summary

Rather than open coding the same implementation.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: hiraditya. · View Herald Transcript
nickdesaulniers requested review of this revision.Jul 11 2023, 11:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2023, 11:47 AM
void accepted this revision.Jul 11 2023, 11:53 AM

Nice catch!

This revision is now accepted and ready to land.Jul 11 2023, 11:53 AM
MaskRay accepted this revision.Jul 11 2023, 1:05 PM

Consider adding a NFC:)

nickdesaulniers retitled this revision from [ConstantHoisting] use BasicBlock::getFirstInsertionPt to [ConstantHoisting] use BasicBlock::getFirstInsertionPt NFC.Jul 12 2023, 9:40 AM