[flang-commits] [flang] [mlir] [MLIR][LLVMIR][DLTI] Add #llvm.target, #llvm.data_layout and TargetAttrInterface (PR #145899)
Rolf Morel via flang-commits
flang-commits at lists.llvm.org
Mon Jul 21 08:14:00 PDT 2025
================
@@ -14,8 +14,10 @@
#ifndef MLIR_DIALECT_LLVMIR_LLVMATTRS_H_
#define MLIR_DIALECT_LLVMIR_LLVMATTRS_H_
-#include "mlir/Dialect/LLVMIR/LLVMTypes.h"
#include "mlir/IR/OpImplementation.h"
+#include "mlir/Interfaces/DataLayoutInterfaces.h"
+#include "llvm/MC/TargetRegistry.h"
+#include "llvm/Target/TargetMachine.h"
----------------
rolfmorel wrote:
Thanks @fabianmcg - this makes sense! Will incorporate this in my revision of the PR this week.
https://github.com/llvm/llvm-project/pull/145899
More information about the flang-commits
mailing list