[all-commits] [llvm/llvm-project] 335f1a: [opt][HIPSTDPAR] Handle `__hipstdpar_hidden_malloc...

Alex Voicu via All-commits all-commits at lists.llvm.org
Tue Jan 21 17:29:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 335f1a72b22560e61f6170efef740c9c26b24f1a
      https://github.com/llvm/llvm-project/commit/335f1a72b22560e61f6170efef740c9c26b24f1a
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/HipStdPar/HipStdPar.cpp
    M llvm/test/Transforms/HipStdPar/allocation-interposition.ll

  Log Message:
  -----------
  [opt][HIPSTDPAR] Handle `__hipstdpar_hidden_malloc` (#123150)

This patch adds support for replacing calls to
`__hipstdpar_hidden_malloc` with calls to `__libc_malloc`, similarly to
how we handle hidden `free`. A future paired change in the forwarding
header will leverage this capability in order to handle certain special
cases where it is not possible / desirable to allocate via the HIP
runtime.



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