[all-commits] [llvm/llvm-project] f40a2c: [NVPTX] CUDA does provide malloc/free since comput...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Mar 15 20:46:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f40a2c3befc81dd9bb18d216d441bd29b98e3e9a
      https://github.com/llvm/llvm-project/commit/f40a2c3befc81dd9bb18d216d441bd29b98e3e9a
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/test/CodeGen/NVPTX/libcall-fulfilled.ll
    A llvm/test/Transforms/InstCombine/malloc_free_delete_nvptx.ll

  Log Message:
  -----------
  [NVPTX] CUDA does provide malloc/free since compute capability 2.X

https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#dynamic-global-memory-allocation-and-operations

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D98606




More information about the All-commits mailing list