[all-commits] [llvm/llvm-project] 7e1437: [flang][cuda] Detect illegal data transfer in sema...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Feb 3 15:01:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e1437ba4abd40a0d1955f59d09719537a05f9e0
      https://github.com/llvm/llvm-project/commit/7e1437ba4abd40a0d1955f59d09719537a05f9e0
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M flang/lib/Semantics/assignment.cpp
    A flang/test/Semantics/cuf18.cuf

  Log Message:
  -----------
  [flang][cuda] Detect illegal data transfer in semantic (#125591)

When the LHS is a device variable and the RHS has implicit transfer,
this is considered as an illegal transfer according to
https://docs.nvidia.com/hpc-sdk/compilers/cuda-fortran-prog-guide/index.html#implicit-data-transfer-in-expressions.

Detect this is semantic .



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