Integrate LLVM at llvm/llvm-project@26750a1264
Updates LLVM usage to match [26750a1264b3](https://github.com/llvm/llvm-project/commit/26750a1264b3) PiperOrigin-RevId: 339127601
This commit is contained in:
parent
6eda9ed273
commit
b7aa01dbe0
|
@ -1,2 +1,2 @@
|
|||
c89447b65984c97145f63be21e42cfa98da60dd2
|
||||
26750a1264b3df114a1efae7cde6f0784206b2ce
|
||||
|
||||
|
|
|
@ -541,10 +541,6 @@ struct HloLegalizeToLhlo
|
|||
return std::all_of(op.operand_type_begin(), op.operand_type_end(),
|
||||
isMemRefType);
|
||||
});
|
||||
target.addDynamicallyLegalOp<shape::AssumingOp>([&](shape::AssumingOp op) {
|
||||
return std::all_of(op.result_type_begin(), op.result_type_end(),
|
||||
isMemRefType);
|
||||
});
|
||||
|
||||
auto kind = results_escape_function
|
||||
? BufferizeTypeConverter::KeepAsFunctionResult
|
||||
|
@ -557,7 +553,8 @@ struct HloLegalizeToLhlo
|
|||
populateWithBufferizeOpConversionPatterns<mlir::ReturnOp, mlir::ReturnOp,
|
||||
lmhlo::CopyOp>(
|
||||
&context, converter, patterns);
|
||||
populateShapeTypeConversionPatterns(&context, converter, patterns);
|
||||
populateShapeStructuralTypeConversionsAndLegality(&context, converter,
|
||||
patterns, target);
|
||||
if (failed(applyPartialConversion(getOperation(), target, patterns)))
|
||||
signalPassFailure();
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ class LhloFuseLinalgPass
|
|||
for (unsigned id = 0, e = LinalgOp(op).getNumInputs(); id < e; ++id) {
|
||||
linalg::Aliases aliases;
|
||||
linalg::LinalgDependenceGraph graph(aliases, linalg_ops);
|
||||
if (auto info = fuseProducerOf(b, op, id, graph, &folder)) {
|
||||
if (auto info = fuseProducerOfBuffer(b, op, id, graph, &folder)) {
|
||||
auto originalOp = info->originalProducer.getOperation();
|
||||
erase_set.insert(originalOp);
|
||||
auto originalOpInLinalgOpsVector = std::find_if(
|
||||
|
|
Loading…
Reference in New Issue