Skip to content

Commit 917bc90

Browse files
authored
[MLIR][LLVMIR] Mark Funcop as affinescope (llvm#144456)
All functions are conceptually an affine scope.
1 parent 9fed480 commit 917bc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ def LLVM_ComdatOp : LLVM_Op<"comdat", [NoTerminator, NoRegionArguments, SymbolTa
18291829
}
18301830

18311831
def LLVM_LLVMFuncOp : LLVM_Op<"func", [
1832-
AutomaticAllocationScope, IsolatedFromAbove, FunctionOpInterface
1832+
AffineScope, AutomaticAllocationScope, IsolatedFromAbove, FunctionOpInterface
18331833
]> {
18341834
let summary = "LLVM dialect function.";
18351835

0 commit comments

Comments
 (0)