Skip to content

Commit

Permalink
Legalize ttir EmptyOp.
Browse files Browse the repository at this point in the history
  • Loading branch information
uazizTT committed Oct 21, 2024
1 parent c0337e6 commit 8d2f32a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Conversion/StableHLOToTTIR/ArithToStableHLOPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ struct ConvertArithToStableHLOPass

target.addIllegalDialect<mlir::arith::ArithDialect>();
target.addLegalDialect<mlir::stablehlo::StablehloDialect>();
target.addLegalOp<mlir::tensor::EmptyOp>();
target.addLegalOp<mlir::ModuleOp>();
target.addLegalOp<mlir::func::FuncOp>();
target.addLegalOp<mlir::func::ReturnOp>();
Expand Down

0 comments on commit 8d2f32a

Please sign in to comment.