[all-commits] [llvm/llvm-project] 544940: [flang][CUDA] Add error & warning for device argum...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Apr 18 12:51:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 544940846d5b99831307595b82818b2b4aba6377
      https://github.com/llvm/llvm-project/commit/544940846d5b99831307595b82818b2b4aba6377
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-04-18 (Fri, 18 Apr 2025)

  Changed paths:
    M flang/include/flang/Evaluate/check-expression.h
    M flang/lib/Evaluate/check-expression.cpp
    M flang/lib/Semantics/check-call.cpp
    A flang/test/Semantics/cuf19.cuf

  Log Message:
  -----------
  [flang][CUDA] Add error & warning for device argument first dimension… (#136058)

… discontiguity

For dummy assumed-shape/-rank device arrays, test the associated actual
argument for stride-1 contiguity, and report an error when the actual
argument is known to not be stride-1 contiguous and nonempty, or a
warning when when the actual argument is not known to be empty or
stride-1 contiguous.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list