diff options
author | Renaud Kauffmann <rkauffmann@nvidia.com> | 2025-09-29 15:32:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-29 15:32:03 -0700 |
commit | 5d739cf4186e333770a11d1376eb2ea947cc70e8 (patch) | |
tree | 5c27265863b40ddd1bae9cada668b67f374fe688 /llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp | |
parent | d28c07b7550af47ff7adc068d6078388cdeed61d (diff) | |
download | llvm-5d739cf4186e333770a11d1376eb2ea947cc70e8.zip llvm-5d739cf4186e333770a11d1376eb2ea947cc70e8.tar.gz llvm-5d739cf4186e333770a11d1376eb2ea947cc70e8.tar.bz2 |
Create function declaration in the proper module (#161281)
Using `memref.dealloc` in the gpu module would add a function definition
for `@free` in the the top level module instead of the gpu module. The
fix is to do what is already done for memref.alloc which is to use
`op->getParentWithTrait<OpTrait::SymbolTable>()` instead of
`op->getParentOfType<ModuleOp>()` to create the call in the proper
module.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions