[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
       
    Thu Sep 30 13:24:46 PDT 2021
    
    
  
clementval created this revision.
clementval added reviewers: mehdi_amini, kiranchandramohan.
Herald added a project: Flang.
clementval requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.
Add descritpion for the attribute added in D110815 <https://reviews.llvm.org/D110815>.
Repository:
  rG LLVM Github Monorepo
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 to be hoisted in a alloca hoisting pass. 
   }];
 
   let arguments = (ins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110877.376337.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210930/636a3aae/attachment.bin>
    
    
More information about the llvm-commits
mailing list