bump llvm tag to 3580daa (#1078)

This patch makes some rudimentary changes to torch-mlir's use of MLIR
Python bindings to work with the most recent LLVM code.  We can perhaps
do better by being more selective in what we link against, instead of
using `MLIRPythonExtension.RegisterEverything`.
pull/1081/head
Ashay Rane 2022-07-18 16:49:03 -07:00 committed by GitHub
parent df0b1e77a4
commit 7f08169380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 3 additions and 10 deletions

@ -1 +1 @@
Subproject commit 889c6f3996769a991a24da957f597e7500d158e7
Subproject commit 3580daacf3ecb9bc628d05a4037266df6532ad6e

View File

@ -10,7 +10,7 @@
#ifndef TORCHMLIR_C_DIALECTS_H
#define TORCHMLIR_C_DIALECTS_H
#include "mlir-c/Registration.h"
#include "mlir-c/IR.h"
#ifdef __cplusplus
extern "C" {

View File

@ -110,7 +110,7 @@ set(_source_components
# tree, which seems excessive.
MLIRPythonSources
MLIRPythonExtension.Core
MLIRPythonExtension.AllPassesRegistration
MLIRPythonExtension.RegisterEverything
MLIRPythonExtension.ExecutionEngine
TorchMLIRPythonSources
TorchMLIRPythonExtensions

View File

@ -8,7 +8,6 @@
//===----------------------------------------------------------------------===//
#include "mlir-c/Bindings/Python/Interop.h"
#include "mlir-c/Registration.h"
#include "mlir/Bindings/Python/PybindAdaptors.h"
#include "torch-mlir-c/Dialects.h"
#include "torch-mlir-c/Registration.h"

View File

@ -18,7 +18,6 @@ import torch.jit._shape_functions as upstream_shape_functions
from torch_mlir.dialects.torch.importer.jit_ir import ModuleBuilder
from torch_mlir.passmanager import PassManager
import torch_mlir.all_passes_registration
from .registry import Registry

View File

@ -17,7 +17,6 @@
#include "mlir-c/BuiltinAttributes.h"
#include "mlir-c/BuiltinTypes.h"
#include "mlir-c/Diagnostics.h"
#include "mlir-c/Registration.h"
#include "torch-mlir-c/Registration.h"
namespace py = pybind11;

View File

@ -10,8 +10,6 @@ from torch_mlir.ir import *
from torch_mlir.passmanager import *
from torch_mlir.execution_engine import *
from torch_mlir.runtime import *
# Imported for side effects.
import torch_mlir.all_passes_registration
import torch_mlir.dialects.torch
from torch_mlir.compiler_utils import run_pipeline_with_repro_report

View File

@ -5,8 +5,6 @@
from torch_mlir.ir import *
from torch_mlir.passmanager import *
# Imported for side effects.
import torch_mlir.all_passes_registration
from torch_mlir.compiler_utils import run_pipeline_with_repro_report
from torch_mlir_e2e_test.linalg_on_tensors_backends.refbackend import RefBackendLinalgOnTensorsBackend