projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bd858d
)
radeon/llvm: Free target data at end of optimization
author
Aaron Watry
<awatry@gmail.com>
Fri, 8 Nov 2013 19:59:59 +0000
(13:59 -0600)
committer
Aaron Watry
<awatry@gmail.com>
Mon, 23 Dec 2013 13:24:50 +0000
(07:24 -0600)
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
CC: "10.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeon/radeon_llvm_util.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_llvm_util.c
b/src/gallium/drivers/radeon/radeon_llvm_util.c
index cf6d21ed71fe7aa21aaba9d6941d96eb73bdba00..2ace91ff4dc413102a38b5409fe88fb14c435b5b 100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_llvm_util.c
+++ b/
src/gallium/drivers/radeon/radeon_llvm_util.c
@@
-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,