[all-commits] [llvm/llvm-project] fca503: [flang][cuda] Add conversion pass for cuf.allocate...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Aug 2 17:22:44 PDT 2024


  Branch: refs/heads/users/vitalybuka/spr/asan-limit-priority-ctor-to-kmax-1
  Home:   https://github.com/llvm/llvm-project
  Commit: fca5038597af65d2fd1af0815014440aff055630
      https://github.com/llvm/llvm-project/commit/fca5038597af65d2fd1af0815014440aff055630
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/lib/Optimizer/Transforms/CMakeLists.txt
    A flang/lib/Optimizer/Transforms/CufOpConversion.cpp
    A flang/test/Fir/CUDA/cuda-allocate.fir

  Log Message:
  -----------
  [flang][cuda] Add conversion pass for cuf.allocate and cuf.deallocate (#101563)

Allocator can be specified in the descriptor. For simple local
allocatable, we can simply convert `cuf.allocate`/`cuf.deallocate` to
their corresponding runtime calls in the standard flang runtime. More
specific cases will require dedicated entry points. Global descriptor
will require sync between host and device copy.

This patch adds a pass to perform this conversion.


  Commit: ca529dd65c2d50a056d517e6a14f0a25f35a6ce6
      https://github.com/llvm/llvm-project/commit/ca529dd65c2d50a056d517e6a14f0a25f35a6ce6
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/CMakeLists.txt

  Log Message:
  -----------
  [flang][cuda] Fix libTransforms linking (#101773)

Fix buildbot failure #101563


  Commit: a0a9bf5152507beacd2a72dda42d054391494c4a
      https://github.com/llvm/llvm-project/commit/a0a9bf5152507beacd2a72dda42d054391494c4a
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M llvm/unittests/Transforms/Utils/ModuleUtilsTest.cpp

  Log Message:
  -----------
  [NFC][ModuleUtils] Test appendToGlobalCtors/appendToGlobalDtors (#101753)


  Commit: 048cf8857e081fb80d5ac8b24a79f999d632141b
      https://github.com/llvm/llvm-project/commit/048cf8857e081fb80d5ac8b24a79f999d632141b
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/ModuleUtils.h
    M llvm/lib/Transforms/Utils/ModuleUtils.cpp
    M llvm/unittests/Transforms/Utils/ModuleUtilsTest.cpp

  Log Message:
  -----------
  [ModuleUtils] Add transformGlobal{C,D}tors (#101757)

For #101772


  Commit: 9e89b3e00e78f6cef5ac7a876dc877326de3719d
      https://github.com/llvm/llvm-project/commit/9e89b3e00e78f6cef5ac7a876dc877326de3719d
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/lib/Optimizer/Transforms/CMakeLists.txt
    A flang/lib/Optimizer/Transforms/CufOpConversion.cpp
    A flang/test/Fir/CUDA/cuda-allocate.fir
    M llvm/include/llvm/Transforms/Utils/ModuleUtils.h
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Utils/ModuleUtils.cpp
    M llvm/unittests/Transforms/Utils/ModuleUtilsTest.cpp

  Log Message:
  -----------
  comments

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/e4191850e871...9e89b3e00e78

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