This is an archive of the discontinued LLVM Phabricator instance.

[Orc] add C-API for transform layer
ClosedPublic

Authored by vchuravy on Jun 17 2021, 11:55 AM.

Details

Summary

Exposes the IRTransformLayer to allow customization of the pass pipeline for Oorcv2

Diff Detail

Event Timeline

vchuravy created this revision.Jun 17 2021, 11:55 AM
vchuravy requested review of this revision.Jun 17 2021, 11:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 17 2021, 11:55 AM
vchuravy added a project: Restricted Project.Jun 17 2021, 11:56 AM
lhames accepted this revision.Jun 17 2021, 4:12 PM

Apart from those two comments, this looks great!

Do you have commit access? If so, land away (with suggested changes), otherwise let me know and I can commit it.

llvm/include/llvm-c/LLJIT.h
51–59

This isn't LLJIT specific -- It should go in Orc.h.

234–240

This should go in Orc.h too.

This revision is now accepted and ready to land.Jun 17 2021, 4:12 PM