summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-06-29 02:25:23 -0400
committerMarek Olšák <[email protected]>2019-07-04 15:39:04 -0400
commitaa5dab27f96cd7d3e597add1e34de39946c304cf (patch)
tree263318471f507bf479f014ba43fd8b992fa95ac7 /src/gallium/drivers/radeonsi
parentea64d66fdea66351c6895df6e19e819822c46033 (diff)
ac: destroy passes in ac_destroy_llvm_compiler
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index 2ad164a50ac..0b3776b1f7f 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -143,8 +143,6 @@ static void si_init_compiler(struct si_screen *sscreen,
static void si_destroy_compiler(struct ac_llvm_compiler *compiler)
{
- ac_destroy_llvm_passes(compiler->passes);
- ac_destroy_llvm_passes(compiler->low_opt_passes);
ac_destroy_llvm_compiler(compiler);
}