Add support for legalizing mhlo.slice to lmhlo.slice

PiperOrigin-RevId: 330153599
This commit is contained in:
Eugene Burmako 2020-09-04 21:42:22 -07:00 committed by TensorFlow MLIR Team
parent 2a9d7ac084
commit dde1ed56cc
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ MAP_HLO_TO_LHLO(RsqrtOp);
MAP_HLO_TO_LHLO(SelectOp);
MAP_HLO_TO_LHLO(SignOp);
MAP_HLO_TO_LHLO(SinOp);
MAP_HLO_TO_LHLO(SliceOp);
MAP_HLO_TO_LHLO(SqrtOp);
MAP_HLO_TO_LHLO(SubOp);
MAP_HLO_TO_LHLO(TanhOp);

View File

@ -497,6 +497,7 @@ void populateHLOToLHLOConversionPattern(
HloToLhloOpConverter<mhlo::ReshapeOp>,
HloToLhloOpConverter<mhlo::SelectOp>,
HloToLhloOpConverter<mhlo::SignOp>,
HloToLhloOpConverter<mhlo::SliceOp>,
HloToLhloOpConverter<mhlo::SqrtOp>,
HloToLhloOpConverter<mhlo::SubOp>,
HloToLhloOpConverter<mhlo::TanhOp>,