[flang-commits] [flang] [flang][openacc][cuda] Add implicit device attribute for use_device unconditionally (PR #186844)
via flang-commits
flang-commits at lists.llvm.org
Wed Mar 18 03:17:05 PDT 2026
================
@@ -1759,7 +1759,7 @@ void AccDataMap::remapDataOperandSymbols(
llvm::cast<hlfir::DeclareOp>(*computeDef).setSkipRebox(true);
symbolMap.addVariableDefinition(
- symbol, llvm::cast<fir::FortranVariableOpInterface>(computeDef));
+ symbol, llvm::cast<fir::FortranVariableOpInterface>(computeDef), true);
----------------
jeanPerier wrote:
Yes, that seems OK. The remapping is what we want anyway (it was just not expected that the symbol was already map on the top level of the symbol map).
https://github.com/llvm/llvm-project/pull/186844
More information about the flang-commits
mailing list