This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][LLVM] Expose type translator from LLVM to MLIR Type
ClosedPublic

Authored by wsmoses on Jun 23 2021, 7:09 PM.

Details

Summary

This commit moves the type translator from LLVM to MLIR to a public header for use by external projects or other code.

Unlike a previous attempt (https://reviews.llvm.org/D104726), this patch moves the type conversion into separate files which remedies the linker error which was only caught by CI.

Diff Detail

Event Timeline

wsmoses created this revision.Jun 23 2021, 7:09 PM
wsmoses requested review of this revision.Jun 23 2021, 7:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2021, 7:09 PM
wsmoses updated this revision to Diff 354139.Jun 23 2021, 7:11 PM

Fix cmake and spacing

ftynse accepted this revision.Jun 24 2021, 12:49 AM

Try building with shared libraries (-DBUILD_SHARED_LIBS=On).

This revision is now accepted and ready to land.Jun 24 2021, 12:49 AM
This revision was landed with ongoing or failed builds.Jun 24 2021, 9:06 AM
This revision was automatically updated to reflect the committed changes.