This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] Create a proper LLVM IR Function for MachineFunctions
ClosedPublic

Authored by aeubanks on Apr 25 2023, 3:05 PM.

Details

Summary

I have upcoming changes break with invalid Function definitions.

Diff Detail

Event Timeline

aeubanks created this revision.Apr 25 2023, 3:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2023, 3:05 PM
Herald added a subscriber: mstojanovic. · View Herald Transcript
aeubanks requested review of this revision.Apr 25 2023, 3:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2023, 3:05 PM
aidengrossman added inline comments.Apr 30 2023, 4:12 PM
llvm/tools/llvm-exegesis/lib/Assembler.cpp
86–87

I'm thinking we should be able to get rid of this comment and function call now that there will be IR within the function?

aeubanks updated this revision to Diff 518389.Apr 30 2023, 8:40 PM

address comment

aidengrossman accepted this revision.May 13 2023, 2:09 AM

I'm not really the code owner here (most of my changes have been refactorings), but this is pretty small and I've verified that everything works as expected locally. I'd expect @courbet and @gchatelet to not have any problems with this.

This revision is now accepted and ready to land.May 13 2023, 2:09 AM
courbet accepted this revision.May 14 2023, 10:43 PM