[flang-commits] [flang] [flang][cuda] Do not lower device target in porgram as global (PR #120126)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Mon Dec 16 11:16:21 PST 2024
Valentin Clement =?utf-8?b?KOODkOODrOODsw==?=
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/120126 at github.com>
================
@@ -1755,7 +1756,7 @@ bool IsSaved(const Symbol &original) {
} else if (scope.hasSAVE()) {
return true; // bare SAVE statement
} else if (const Symbol * block{FindCommonBlockContaining(symbol)};
- block && block->attrs().test(Attr::SAVE)) {
+ block && block->attrs().test(Attr::SAVE)) {
----------------
clementval wrote:
```suggestion
block && block->attrs().test(Attr::SAVE)) {
```
https://github.com/llvm/llvm-project/pull/120126
More information about the flang-commits
mailing list