Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: flang-compiler#1065 Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D110815 Co-authored-by: Valentin Clement <clementval@gmail.com>
- Loading branch information
1 parent
c15bbde
commit 4cab4f6
Showing
2 changed files
with
62 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters