[clang] [mlir] [CIR] Sync default DataLayout with LLVM side (PR #244793)

ShengYi Hung via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 29 21:21:59 PST 2026


================

----------------
aokblast wrote:

> I would hope that this default is not used in practice since the imported LLVM IR modules should have a data layout. So maybe removing it entirely is also an option

MLIR only lists what differs from LLVM's built-in defaults, and LLVM fills in the rest from its own table. MLIR has no such table, so the importer fills the gaps itself. 

> 
> Can you explain how this is related to the CIR change?

Sorry. There are many changes bring from my downstream CIR related project. They are not well separated. When these patches go here, they are separated but not carefully rewrite the commit msg.

https://github.com/llvm/llvm-project/pull/244793


More information about the cfe-commits mailing list