diff --git a/flang/include/flang/Optimizer/Dialect/FIROps.td b/flang/include/flang/Optimizer/Dialect/FIROps.td index df4451b1bf432..7da7f20952a87 100644 --- a/flang/include/flang/Optimizer/Dialect/FIROps.td +++ b/flang/include/flang/Optimizer/Dialect/FIROps.td @@ -123,6 +123,9 @@ def fir_AllocaOp : fir_Op<"alloca", [AttrSizedOperandSegments, allocated as stack space can often be limited. A legal implementation can convert these large stack allocations to heap allocations regardless of whether the procedure is recursive or not. + + The pinned attribute is used to flag fir.alloca operation in a specific + region and avoid them being hoisted in an alloca hoisting pass. }]; let arguments = (ins