This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Use Datalayout defaults when importing LLVM
ClosedPublic

Authored by wsmoses on Mar 2 2022, 9:41 AM.

Details

Summary

LLVM defines several default datalayouts for integer and floating point types that are not being considered when importing into MLIR. This patch remedies this.

Diff Detail

Event Timeline

wsmoses created this revision.Mar 2 2022, 9:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2022, 9:41 AM
wsmoses requested review of this revision.Mar 2 2022, 9:41 AM
ftynse accepted this revision.Mar 2 2022, 9:52 AM
ftynse added inline comments.
mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
99–101
This revision is now accepted and ready to land.Mar 2 2022, 9:52 AM
This revision was automatically updated to reflect the committed changes.