aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorMichele Scuttari <michele.scuttari@outlook.com>2022-07-25 15:42:36 +0200
committerAlex Zinenko <zinenko@google.com>2022-07-25 15:52:51 +0200
commita8601f11fbb753e552197c5aa835fd3c30c29fd3 (patch)
tree7e9e90267e60f53b7507c960737e2a5fa5c3ecd1 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent281eb9223cf2e9366b5356fafab275abf0ea1d2b (diff)
downloadllvm-a8601f11fbb753e552197c5aa835fd3c30c29fd3.zip
llvm-a8601f11fbb753e552197c5aa835fd3c30c29fd3.tar.gz
llvm-a8601f11fbb753e552197c5aa835fd3c30c29fd3.tar.bz2
[MLIR] Generic 'malloc', 'aligned_alloc' and 'free' functions
When converted to the LLVM dialect, the memref.alloc and memref.free operations were generating calls to hardcoded 'malloc' and 'free' functions. This didn't leave any freedom to users to provide their custom implementation. Those operations now convert into calls to '_mlir_alloc' and '_mlir_free' functions, which have also been implemented into the runtime support library as wrappers to 'malloc' and 'free'. The same has been done for the 'aligned_alloc' function. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D128791
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions