build: update llvm tag to 41895843

Summary of changes:
- Update tags
  llvm: 41895843b5915bb78e9d02aa711fa10f7174db43
  mhlo: 4726d31f7025da66de0dea709bd56c462edb83c2

Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
pull/2369/head oneshot-20230802.121
Vivek Khandelwal 2023-07-26 07:30:13 +00:00
parent fb52a73cbe
commit a374c39106
5 changed files with 9 additions and 4 deletions

View File

@ -1180,6 +1180,11 @@ TOSA_PASS_SET = {
"TupleModule_basic",
"NumpyTRank0Module_basic",
"Permute0RankModule_basic",
"Add_Module_basic",
"SoftmaxIntModule_basic",
"SoftmaxIntNegDimModule_basic",
"_LogSoftmaxModule_basic",
"_SoftmaxModule_basic",
}
MAKE_FX_TOSA_PASS_SET = (TOSA_PASS_SET | {
@ -1210,6 +1215,8 @@ MAKE_FX_TOSA_PASS_SET = (TOSA_PASS_SET | {
# Unimplemented operator 'aten._index_put_impl_.hacked_twin'
"IndexPutImpl1DFloatNonAccumulateModule_basic",
"IndexPutImpl1DIntNonAccumulateModule_basic",
# RuntimeError: The size of tensor a (7) must match the size of tensor b (3) at non-singleton dimension 1
"Add_Module_basic",
}
if torch_version_for_comparison() < version.parse("2.1.0.dev"):

@ -1 +1 @@
Subproject commit 4592543a01609feb4b3c19e81a9d54743e15e329
Subproject commit 41895843b5915bb78e9d02aa711fa10f7174db43

2
externals/mlir-hlo vendored

@ -1 +1 @@
Subproject commit f6615343fdab2c74bebd23c78366cf097f9a72df
Subproject commit 4726d31f7025da66de0dea709bd56c462edb83c2

View File

@ -10,7 +10,6 @@
#ifndef PYTHON_BINDINGS_TORCH_OPS
#define PYTHON_BINDINGS_TORCH_OPS
include "mlir/Bindings/Python/Attributes.td"
include "torch-mlir/Dialect/Torch/IR/TorchOps.td"
#endif // PYTHON_BINDINGS_TORCH_OPS

View File

@ -163,7 +163,6 @@ LOWERING_PIPELINE = "builtin.module(" + ",".join([
"func.func(convert-math-to-llvm)",
# Handle some complex mlir::math ops (e.g. atan2)
"convert-math-to-libm",
"convert-linalg-to-llvm",
"expand-strided-metadata",
"finalize-memref-to-llvm",
"lower-affine",