[all-commits] [llvm/llvm-project] 01a87f: [flang][cuda] Make sure dstEleTy is set when used ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Oct 13 12:05:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01a87f2e057f89bc16f76499d5d600d9573a4cd3
      https://github.com/llvm/llvm-project/commit/01a87f2e057f89bc16f76499d5d600d9573a4cd3
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-10-13 (Mon, 13 Oct 2025)

  Changed paths:
    M flang/lib/Optimizer/Transforms/CUFOpConversion.cpp
    M flang/test/Fir/CUDA/cuda-data-transfer.fir

  Log Message:
  -----------
  [flang][cuda] Make sure dstEleTy is set when used in CUFOpConversion (#163240)

When the src is an i1, we use the dst element type. In some case, the
dst element type was null. Make sure we pass one to `emboxSrc` and add
an assertion when we use it to catch it in case it is null.



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