[all-commits] [llvm/llvm-project] 4cab4f: [fir] Update fir.alloca op

kiranchandramohan via All-commits all-commits at lists.llvm.org
Thu Sep 30 08:02:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4cab4f6b1c089fe51d50b4b4d931976db64fecce
      https://github.com/llvm/llvm-project/commit/4cab4f6b1c089fe51d50b4b4d931976db64fecce
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2021-09-30 (Thu, 30 Sep 2021)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Optimizer/Dialect/FIROps.cpp

  Log Message:
  -----------
  [fir] Update fir.alloca op

Add pinned attributes and speicifc builders.

The pinned attribute helps mark those allocas in OpenMP regions that should not
be hoisted out by an alloca hoisting pass.

This patch is part of the upstreaming effort from fir-dev branch.

Coming from PR: https://github.com/flang-compiler/f18-llvm-project/pull/1065

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D110815

Co-authored-by: Valentin Clement <clementval at gmail.com>




More information about the All-commits mailing list