[flang-commits] [flang] [flang][cuda] Preserve array lower bounds in implicit device-to-host transfer (PR #227824)

via flang-commits flang-commits at lists.llvm.org
Thu Oct 1 06:11:08 PDT 2026


================
@@ -25,6 +25,11 @@
 #include <mlir/Dialect/OpenMP/OpenMPDialect.h>
 #include <optional>
 
+// Bring hlfir::getNonDefaultLowerBounds into file scope so internal callers
+// (which predate the promotion to a public API) continue to compile without
+// explicit qualification.
+using hlfir::getNonDefaultLowerBounds;
----------------
jeanPerier wrote:

prefer updating the existing call to explicit qualification, this is more helpful for future readers.

https://github.com/llvm/llvm-project/pull/227824


More information about the flang-commits mailing list