aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
diff options
context:
space:
mode:
authorRenaud Kauffmann <rkauffmann@nvidia.com>2025-09-29 15:32:03 -0700
committerGitHub <noreply@github.com>2025-09-29 15:32:03 -0700
commit5d739cf4186e333770a11d1376eb2ea947cc70e8 (patch)
tree5c27265863b40ddd1bae9cada668b67f374fe688 /llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
parentd28c07b7550af47ff7adc068d6078388cdeed61d (diff)
downloadllvm-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