Register the new branch op rewrite patterns in hlo to lhlo conversion
for good measure. PiperOrigin-RevId: 344512196
This commit is contained in:
parent
d617f3edb6
commit
f183e95e69
|
@ -581,6 +581,9 @@ struct HloLegalizeToLhlo
|
||||||
populateHLOToLHLOConversionPattern(&context, &converter, &patterns);
|
populateHLOToLHLOConversionPattern(&context, &converter, &patterns);
|
||||||
populateFuncOpTypeConversionPattern(patterns, &context, converter);
|
populateFuncOpTypeConversionPattern(patterns, &context, converter);
|
||||||
populateCallOpTypeConversionPattern(patterns, &context, converter);
|
populateCallOpTypeConversionPattern(patterns, &context, converter);
|
||||||
|
populateBranchOpInterfaceAndReturnOpTypeConversionPattern(
|
||||||
|
patterns, &context, converter);
|
||||||
|
|
||||||
populateShapeStructuralTypeConversionsAndLegality(&context, converter,
|
populateShapeStructuralTypeConversionsAndLegality(&context, converter,
|
||||||
patterns, target);
|
patterns, target);
|
||||||
if (failed(applyPartialConversion(getOperation(), target,
|
if (failed(applyPartialConversion(getOperation(), target,
|
||||||
|
|
Loading…
Reference in New Issue