diff options
author | Alex Zinenko <zinenko@google.com> | 2020-06-26 14:47:38 +0200 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2020-06-26 15:38:00 +0200 |
commit | 8304ab5799b4172462877ca7495115c659ec0be0 (patch) | |
tree | 59a76ab21a876f9432d4c8579873f072269b9da7 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6323065fd6026de926b15bb609f4601e366a300c (diff) | |
download | llvm-8304ab5799b4172462877ca7495115c659ec0be0.zip llvm-8304ab5799b4172462877ca7495115c659ec0be0.tar.gz llvm-8304ab5799b4172462877ca7495115c659ec0be0.tar.bz2 |
[mlir] Avoid creating local OpBuilders in Standard-to-LLVM conversion
Conversions of allocation-related operations in Standard-to-LLVM need
declarations of "malloc" and "free" (or equivalents). They use locally created
OpBuilders pointed at the module level to declare these functions if necessary.
This is poorly compatible with the pattern infrastructure that is unaware of
new operations being created. Update the insertion point of the main rewriter
instead.
Differential Revision: https://reviews.llvm.org/D82649
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions