[all-commits] [llvm/llvm-project] e45786: [flang][cuda] Support shape shift in data transfer...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Nov 13 11:13:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4578616476426595737c73c9ac357467ee19123
      https://github.com/llvm/llvm-project/commit/e4578616476426595737c73c9ac357467ee19123
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-11-13 (Wed, 13 Nov 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
    M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
    M flang/lib/Optimizer/Transforms/CUFOpConversion.cpp
    M flang/test/Fir/CUDA/cuda-data-transfer.fir
    M flang/test/Lower/CUDA/cuda-data-transfer.cuf

  Log Message:
  -----------
  [flang][cuda] Support shape shift in data transfer op.  (#115929)

When an array is declared with a non default lower bound, the declare op
`getShape` will return a `ShapeShiftOp`. This result is used in data
transfer operation to compute the number of bytes to transfer. Update
the op to support `ShapeShiftOp`.



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