[Mlir-commits] [flang] [mlir] [MLIR][LLVMIR][DLTI] Add #llvm.target, #llvm.data_layout and TargetAttrInterface (PR #145899)

Tobias Gysi llvmlistbot at llvm.org
Sat Jul 26 11:49:57 PDT 2025


================
@@ -66,7 +73,7 @@ class DataLayoutImporter {
 
 private:
   /// Translates the LLVM `dataLayout` to an MLIR data layout specification.
-  void translateDataLayout(const llvm::DataLayout &llvmDataLayout);
+  DataLayoutSpecInterface dataLayoutSpecFromDataLayoutStr();
----------------
gysit wrote:

nit: the comment seems outdated. Maybe change to "the LLVM datalayout string to an MLIR..." 

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


More information about the Mlir-commits mailing list