mirror of https://github.com/llvm/torch-mlir
Update llvm-project to 753a21928413f8a7e76978cb1354e09150e114e0
parent
87aa561c69
commit
1fed1cb016
|
@ -26,7 +26,7 @@ export LDFLAGS=-fuse-ld=$(which ld.lld-$LLVM_VERSION)
|
|||
export LLVM_SRC_DIR=/path/to/llvm-project
|
||||
|
||||
# Check out last known good commit.
|
||||
(cd $LLVM_SRC_DIR && git checkout 310d32cb80a611e6384a921e85607fea05841f26)
|
||||
(cd $LLVM_SRC_DIR && git checkout 753a21928413f8a7e76978cb1354e09150e114e0)
|
||||
|
||||
./tools/install_mlir.sh
|
||||
./tools/cmake_configure.sh
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "mlir/IR/OpDefinition.h"
|
||||
#include "mlir/IR/StandardTypes.h"
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "mlir/Interfaces/SideEffects.h"
|
||||
#include "mlir/Interfaces/SideEffectInterfaces.h"
|
||||
|
||||
namespace mlir {
|
||||
namespace NPCOMP {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#define NPCOMP_DIALECT_BASICPY_BASICPY_OPS
|
||||
|
||||
include "BasicpyDialect.td"
|
||||
include "mlir/Interfaces/SideEffects.td"
|
||||
include "mlir/Interfaces/SideEffectInterfaces.td"
|
||||
include "mlir/IR/SymbolInterfaces.td"
|
||||
|
||||
def Basicpy_SingletonOp : Basicpy_Op<"singleton", [
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "mlir/IR/OpDefinition.h"
|
||||
#include "mlir/IR/StandardTypes.h"
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "mlir/Interfaces/SideEffects.h"
|
||||
#include "mlir/Interfaces/SideEffectInterfaces.h"
|
||||
|
||||
namespace mlir {
|
||||
namespace NPCOMP {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#define NPCOMP_DIALECT_NUMPY_NUMPY_OPS
|
||||
|
||||
include "NumpyDialect.td"
|
||||
include "mlir/Interfaces/SideEffects.td"
|
||||
include "mlir/Interfaces/SideEffectInterfaces.td"
|
||||
include "mlir/IR/SymbolInterfaces.td"
|
||||
|
||||
//----------------------------------------------------------------------------//
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "mlir/IR/OpDefinition.h"
|
||||
#include "mlir/IR/OpImplementation.h"
|
||||
#include "mlir/IR/StandardTypes.h"
|
||||
#include "mlir/Interfaces/SideEffects.h"
|
||||
#include "mlir/Interfaces/SideEffectInterfaces.h"
|
||||
|
||||
namespace mlir {
|
||||
namespace NPCOMP {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
include "npcomp/Dialect/TCP/IR/TCPBase.td"
|
||||
include "mlir/Dialect/Shape/IR/ShapeBase.td"
|
||||
include "mlir/Interfaces/SideEffects.td"
|
||||
include "mlir/Interfaces/SideEffectInterfaces.td"
|
||||
include "mlir/Interfaces/InferTypeOpInterface.td"
|
||||
|
||||
class TCP_Op<string mnemonic, list<OpTrait> traits = []>
|
||||
|
|
|
@ -14,6 +14,6 @@ add_mlir_dialect_library(NPCOMPTCP
|
|||
LINK_LIBS PUBLIC
|
||||
MLIRIR
|
||||
MLIRSupport
|
||||
MLIRSideEffects
|
||||
MLIRSideEffectInterfaces
|
||||
MLIRShape
|
||||
)
|
||||
|
|
|
@ -20,5 +20,5 @@ add_mlir_library(NPCOMPE2E
|
|||
MLIRLinalgOps
|
||||
MLIRStandardOps
|
||||
MLIRStandardToLLVM
|
||||
MLIRLoopToStandard
|
||||
MLIRSCFToStandard
|
||||
)
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include "npcomp/E2E/E2E.h"
|
||||
#include "PassDetail.h"
|
||||
|
||||
#include "mlir/Conversion/LoopToStandard/ConvertLoopToStandard.h"
|
||||
#include "mlir/Conversion/SCFToStandard/SCFToStandard.h"
|
||||
#include "mlir/Dialect/Linalg/IR/LinalgOps.h"
|
||||
#include "mlir/Dialect/Linalg/IR/LinalgTypes.h"
|
||||
#include "mlir/Dialect/Linalg/Passes.h"
|
||||
|
|
|
@ -78,7 +78,7 @@ target_link_libraries(${extension_target}
|
|||
MLIREDSC
|
||||
MLIREDSCInterface
|
||||
MLIRIR
|
||||
MLIRLoopToStandard
|
||||
MLIRSCFToStandard
|
||||
MLIRLLVMIR
|
||||
MLIRPass
|
||||
MLIRTargetLLVMIR
|
||||
|
|
Loading…
Reference in New Issue