aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2020-06-26 14:47:38 +0200
committerAlex Zinenko <zinenko@google.com>2020-06-26 15:38:00 +0200
commit8304ab5799b4172462877ca7495115c659ec0be0 (patch)
tree59a76ab21a876f9432d4c8579873f072269b9da7 /clang/lib/CodeGen/CodeGenFunction.cpp
parent6323065fd6026de926b15bb609f4601e366a300c (diff)
downloadllvm-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