mirror of https://github.com/llvm/torch-mlir
Bump LLVM to 84fe34a0b7fdd7bbf179981d1583693d5d5ec68b (#544)
* external/llvm-project 881ff4e4ebe8...84fe34a0b7fd (466): > [MLIR] Workaround for python detection problems.pull/549/head snapshot-20220128.233
parent
7a5736facd
commit
52ed3313b4
|
@ -1 +1 @@
|
|||
Subproject commit 881ff4e4ebe8cc0cc045c7c167cffb01f94f27f8
|
||||
Subproject commit 84fe34a0b7fdd7bbf179981d1583693d5d5ec68b
|
|
@ -569,10 +569,10 @@ rewriteMonomorphizedFuncClone(FuncOp func, BlockAndValueMapping mapping,
|
|||
op->dropAllDefinedValueUses();
|
||||
op->erase();
|
||||
}
|
||||
SmallVector<unsigned> argsToErase;
|
||||
llvm::BitVector argsToErase(func.getNumArguments());
|
||||
for (auto type : llvm::enumerate(func.getArgumentTypes())) {
|
||||
if (type.value().isa<NnModuleType>()) {
|
||||
argsToErase.push_back(type.index());
|
||||
argsToErase.set(type.index());
|
||||
}
|
||||
}
|
||||
func.eraseArguments(argsToErase);
|
||||
|
|
|
@ -61,7 +61,7 @@ void TorchConversion::createTorchBackendToLinalgOnTensorsBackendPipeline(
|
|||
pm.addNestedPass<FuncOp>(createConvertTorchToLinalgPass());
|
||||
pm.addNestedPass<FuncOp>(createConvertTorchToStdPass());
|
||||
pm.addNestedPass<FuncOp>(createConvertTorchToSCFPass());
|
||||
pm.addNestedPass<FuncOp>(createStdExpandOpsPass());
|
||||
pm.addNestedPass<FuncOp>(memref::createExpandOpsPass());
|
||||
|
||||
if (options.optimize) {
|
||||
// Clean up any non-canonical code introduced above..
|
||||
|
|
Loading…
Reference in New Issue