[mlir][arith] Do not limit arith-expand pass to FuncOp

This pass doesn't have any limitations specific to FuncOp and it will be useful to be able to run it on other ops (e.g. gpu.func).

Differential Revision: https://reviews.llvm.org/D119662
This commit is contained in:
Ivan Butygin 2022-02-13 16:28:29 +03:00
parent ad1feef7b2
commit 5217801dae
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def ArithmeticBufferize : Pass<"arith-bufferize", "ModuleOp"> {
];
}
def ArithmeticExpandOps : Pass<"arith-expand", "FuncOp"> {
def ArithmeticExpandOps : Pass<"arith-expand"> {
let summary = "Legalize Arithmetic ops to be convertible to LLVM.";
let constructor = "mlir::arith::createArithmeticExpandOpsPass()";
let dependentDialects = ["StandardOpsDialect"];