This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Moved definition of BasicBlock::Create() to BasicBlock.cpp.
AbandonedPublic

Authored by vporpo on Dec 2 2022, 12:04 PM.

Details

Reviewers
aeubanks
asbirlea

Diff Detail

Event Timeline

vporpo created this revision.Dec 2 2022, 12:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2022, 12:04 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
vporpo requested review of this revision.Dec 2 2022, 12:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2022, 12:04 PM

what's the reason behind this?

also nit on commit titles, use present tense (Move definition ...) and omit trailing period

It is not super necessary, but it will make some follow-up patches more readable.

aeubanks accepted this revision.Dec 2 2022, 2:14 PM

this might slow down llvm for people who don't use LTO to build llvm? keep an eye on llvm-compile-time-tracker

This revision is now accepted and ready to land.Dec 2 2022, 2:14 PM
vporpo abandoned this revision.Dec 2 2022, 2:56 PM

Good point. I will abandon this for now. Let me see what I can do to avoid moving this to the cpp file.