mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
radeon/llvm: Free target data at end of optimization
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
CC: "10.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 767b0f82c3)
This commit is contained in:
parent
23d290d102
commit
a4a2f239d7
1 changed files with 1 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ static void radeon_llvm_optimize(LLVMModuleRef mod)
|
|||
LLVMRunPassManager(pass_manager, mod);
|
||||
LLVMPassManagerBuilderDispose(builder);
|
||||
LLVMDisposePassManager(pass_manager);
|
||||
LLVMDisposeTargetData(TD);
|
||||
}
|
||||
|
||||
LLVMModuleRef radeon_llvm_get_kernel_module(LLVMContextRef ctx, unsigned index,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue