This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add partial support for translating data layout
ClosedPublic

Authored by ftynse on Mar 1 2022, 9:21 AM.

Details

Summary

Add support for translating data layout specifications for integer and float
types between MLIR and LLVM IR. This is a first step towards removing the
string-based LLVM dialect data layout attribute on modules. The latter is still
available and will remain so until the first-class MLIR modeling can fully
replace it.

Depends On D120739

Diff Detail

Event Timeline

ftynse created this revision.Mar 1 2022, 9:21 AM
ftynse requested review of this revision.Mar 1 2022, 9:21 AM
wsmoses accepted this revision.Mar 1 2022, 9:29 AM
This revision is now accepted and ready to land.Mar 1 2022, 9:29 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2022, 5:57 AM