mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-04 06:51:56 +00:00
ScheduleOptimizer: Fix another memleak
llvm-svn: 138554
This commit is contained in:
parent
14380ff9a0
commit
b406d227d2
@ -255,7 +255,7 @@ static isl_map *getPrevectorMap(isl_ctx *ctx, int vectorDimension,
|
||||
isl_constraint_set_coefficient_si(c, isl_dim_out, stepDimension, 1);
|
||||
tilingMap = isl_basic_map_add_constraint(tilingMap, c);
|
||||
|
||||
c = isl_inequality_alloc(isl_dim_copy(dim));
|
||||
c = isl_inequality_alloc(dim);
|
||||
isl_constraint_set_coefficient_si(c, isl_dim_out, vectorDimension, 1);
|
||||
isl_constraint_set_coefficient_si(c, isl_dim_out, stepDimension, -1);
|
||||
isl_constraint_set_constant_si(c, vectorWidth- 1);
|
||||
|
Loading…
Reference in New Issue
Block a user