This is an archive of the discontinued LLVM Phabricator instance.

Add C API files for the LLVM dialect
ClosedPublic

Authored by apaszke on Jul 2 2021, 5:29 AM.

Details

Summary

For now only expose a builder for the LLVM pointer type.

Diff Detail

Event Timeline

apaszke created this revision.Jul 2 2021, 5:29 AM
apaszke requested review of this revision.Jul 2 2021, 5:29 AM
ftynse added a comment.Jul 2 2021, 7:46 AM

I suppose this also needs cmake changes.

mlir/include/mlir-c/Dialect/LLVM.h
23
mlir/lib/CAPI/Dialect/LLVM.cpp
2
apaszke updated this revision to Diff 356183.Jul 2 2021, 9:12 AM

Update CMake configuration, added tests

apaszke updated this revision to Diff 356186.Jul 2 2021, 9:13 AM
apaszke marked 2 inline comments as done.

Addressed review comments

jpienaar accepted this revision.Jul 2 2021, 9:16 AM
This revision is now accepted and ready to land.Jul 2 2021, 9:16 AM
ftynse accepted this revision.Jul 2 2021, 9:21 AM
This revision was automatically updated to reflect the committed changes.