[PATCH] D110877: [fir][NFC] Update doc for pinned attr in fir.alloca

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 1 00:15:01 PDT 2021


clementval updated this revision to Diff 376433.
clementval added a comment.

Address nit comment


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110877/new/

https://reviews.llvm.org/D110877

Files:
  flang/include/flang/Optimizer/Dialect/FIROps.td


Index: flang/include/flang/Optimizer/Dialect/FIROps.td
===================================================================
--- flang/include/flang/Optimizer/Dialect/FIROps.td
+++ flang/include/flang/Optimizer/Dialect/FIROps.td
@@ -123,6 +123,9 @@
     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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110877.376433.patch
Type: text/x-patch
Size: 632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211001/8ff6190d/attachment.bin>


More information about the llvm-commits mailing list