aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorOleksandr "Alex" Zinenko <zinenko@google.com>2023-11-23 13:38:25 +0100
committerGitHub <noreply@github.com>2023-11-23 13:38:25 +0100
commit8735b7dcc9ebcfd00f478660656f75432af38ed3 (patch)
tree327c10af64dad64404950d39a7684a073e4f09a0 /clang/lib/Frontend/TestModuleFileExtension.cpp
parentbf353a71a2c1360a445618dde6610cf850a1f417 (diff)
downloadllvm-8735b7dcc9ebcfd00f478660656f75432af38ed3.zip
llvm-8735b7dcc9ebcfd00f478660656f75432af38ed3.tar.gz
llvm-8735b7dcc9ebcfd00f478660656f75432af38ed3.tar.bz2
[mlir] do not inject malloc/free in to-LLVM translation (#73224)
In the early days of MLIR-to-LLVM IR translation, it had to forcefully inject declarations of `malloc` and `free` functions as then-standard (now `memref`) dialect ops were unconditionally lowering to libc calls. This is no longer the case. Even when they do lower to libc calls, the signatures of those methods are injected at lowering since calls must target declared functions in valid IR. Don't inject those declarations anymore.
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions