Skip to content
Unverified Commit 4cab4f6b authored by Kiran Chandramohan's avatar Kiran Chandramohan Committed by Valentin Clement
Browse files

[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: default avatarValentin Clement <clementval@gmail.com>
parent c15bbdea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment