forked from OSchip/llvm-project
[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:
parent
ad1feef7b2
commit
5217801dae
|
@ -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"];
|
||||
|
|
Loading…
Reference in New Issue