build: update llvm tag to 4592543a01609fe

- update llvm tag to 4592543a01609feb4b3c19e81a9d54743e15e329
- mhlo now points to f6615343fdab2c74bebd23c78366cf097f9a72df

Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com>
pull/2345/head
Gaurav Shukla 2023-07-21 21:36:05 +05:30
parent 0a67411719
commit 398fa0ef5a
4 changed files with 7 additions and 5 deletions

View File

@ -1129,6 +1129,8 @@ TOSA_PASS_SET = {
"ChunkListUnpack_Module_basic",
"ChunkListUnpackUneven_Module_basic",
"TupleModule_basic",
"NumpyTRank0Module_basic",
"Permute0RankModule_basic",
}
MAKE_FX_TOSA_PASS_SET = (TOSA_PASS_SET | {

View File

@ -31,7 +31,7 @@ using namespace ::mlir::torch::TMTensor;
static Value cloneMemref(Location loc, Value memref, OpBuilder &b) {
auto memrefType = memref.getType().cast<MemRefType>();
auto alloc = b.create<memref::AllocOp>(
loc, memrefType, linalg::createDynamicDimensions(b, loc, memref));
loc, memref::getMixedSizes(b, loc, memref), memrefType.getElementType());
b.create<memref::CopyOp>(loc, memref, alloc);
return alloc;
}
@ -73,8 +73,8 @@ allocateBuffersForResults(Location loc, TMTensorOp tmtensorOp,
}
resultBuffers.push_back(b.create<memref::AllocOp>(
loc, memrefType,
linalg::createDynamicDimensions(b, loc, resultTensor)));
loc, memref::getMixedSizes(b, loc, resultTensor),
memrefType.getElementType()));
}
return success();
}

@ -1 +1 @@
Subproject commit ec89cb9a81529fd41fb37b8e62203a2e9f23bd54
Subproject commit 4592543a01609feb4b3c19e81a9d54743e15e329

2
externals/mlir-hlo vendored

@ -1 +1 @@
Subproject commit cd47c8c4db420181551e79c42fac22aecc4c06af
Subproject commit f6615343fdab2c74bebd23c78366cf097f9a72df