This is an archive of the discontinued LLVM Phabricator instance.

[mlir][llvm] Move the LLVM dialect definition (NFC).
ClosedPublic

Authored by gysit on Apr 11 2023, 5:16 AM.

Details

Summary

The revision separates out the LLVM dialect definition in a separate
tablegen file and ensures the LLVMOpBase.td can include the attributes
defined by LLVMAttrDefs.td. The change allows us to use LLVM dialect
attributes in the definition of the intrinsic and memory operation
base classes, e.g. to represent alias analysis metadata using
attributes.

Diff Detail

Event Timeline

gysit created this revision.Apr 11 2023, 5:16 AM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
gysit requested review of this revision.Apr 11 2023, 5:16 AM
This revision is now accepted and ready to land.Apr 14 2023, 12:07 AM
This revision was automatically updated to reflect the committed changes.