forked from OSchip/llvm-project
Add missing include to mlir/Target/LLVMIR/Import.h to be standalone (NFC)
This commit is contained in:
parent
f38767d771
commit
081cff628a
|
@ -13,6 +13,7 @@
|
|||
#ifndef MLIR_TARGET_LLVMIR_IMPORT_H
|
||||
#define MLIR_TARGET_LLVMIR_IMPORT_H
|
||||
|
||||
#include "mlir/IR/OwningOpRef.h"
|
||||
#include "mlir/Support/LLVM.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include <memory>
|
||||
|
@ -25,8 +26,8 @@ class Module;
|
|||
namespace mlir {
|
||||
|
||||
class DialectRegistry;
|
||||
|
||||
class MLIRContext;
|
||||
class ModuleOp;
|
||||
|
||||
/// Convert the given LLVM module into MLIR's LLVM dialect. The LLVM context is
|
||||
/// extracted from the registered LLVM IR dialect. In case of error, report it
|
||||
|
|
|
@ -10,12 +10,13 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/Target/LLVMIR/Import.h"
|
||||
|
||||
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
|
||||
#include "mlir/IR/Builders.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/IR/BuiltinTypes.h"
|
||||
#include "mlir/IR/MLIRContext.h"
|
||||
#include "mlir/Target/LLVMIR/Import.h"
|
||||
#include "mlir/Target/LLVMIR/TypeFromLLVM.h"
|
||||
#include "mlir/Translation.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue