[all-commits] [llvm/llvm-project] 620168: [flang][cuda] Save function result descriptor befo...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Sep 15 14:58:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 620168eaa2718bde5e8e09470758f881f6e25a66
      https://github.com/llvm/llvm-project/commit/620168eaa2718bde5e8e09470758f881f6e25a66
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/Lower/CUDA/cuda-managed-func-result.cuf

  Log Message:
  -----------
  [flang][cuda] Save function result descriptor before function exit (#223484)

The cuf.free was called before the AbstractResult pass spies the result
over the passed argument. Make sure the result is saved before the
descriptor is freed.



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