diff --git a/lib/Dialect/mhlo/transforms/hlo_legalize_to_lhlo.cc b/lib/Dialect/mhlo/transforms/hlo_legalize_to_lhlo.cc index 4df0147..6ea5402 100644 --- a/lib/Dialect/mhlo/transforms/hlo_legalize_to_lhlo.cc +++ b/lib/Dialect/mhlo/transforms/hlo_legalize_to_lhlo.cc @@ -581,6 +581,9 @@ struct HloLegalizeToLhlo populateHLOToLHLOConversionPattern(&context, &converter, &patterns); populateFuncOpTypeConversionPattern(patterns, &context, converter); populateCallOpTypeConversionPattern(patterns, &context, converter); + populateBranchOpInterfaceAndReturnOpTypeConversionPattern( + patterns, &context, converter); + populateShapeStructuralTypeConversionsAndLegality(&context, converter, patterns, target); if (failed(applyPartialConversion(getOperation(), target,