diff options
author | Tobias Grosser <tobias@grosser.es> | 2017-03-23 13:38:24 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2017-03-23 13:38:24 +0000 |
commit | 1f7e7d3d9389d0ee5d8f11f1183f15a7d8f5731e (patch) | |
tree | bf6a8071e803704e0f0f8d7b4382cb6b239f66fc /polly/lib/External/isl/isl_morph.c | |
parent | 8a18299f2042fc9e9093c5a60e0302e27659cf39 (diff) | |
download | bcm5719-llvm-1f7e7d3d9389d0ee5d8f11f1183f15a7d8f5731e.tar.gz bcm5719-llvm-1f7e7d3d9389d0ee5d8f11f1183f15a7d8f5731e.zip |
Update to isl-0.18-402-ga30c537
This is a regular maintenance update.
llvm-svn: 298595
Diffstat (limited to 'polly/lib/External/isl/isl_morph.c')
-rw-r--r-- | polly/lib/External/isl/isl_morph.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/polly/lib/External/isl/isl_morph.c b/polly/lib/External/isl/isl_morph.c index 1917148c50a..5e75deec43b 100644 --- a/polly/lib/External/isl/isl_morph.c +++ b/polly/lib/External/isl/isl_morph.c @@ -83,19 +83,21 @@ __isl_give isl_morph *isl_morph_cow(__isl_take isl_morph *morph) return isl_morph_dup(morph); } -void isl_morph_free(__isl_take isl_morph *morph) +__isl_null isl_morph *isl_morph_free(__isl_take isl_morph *morph) { if (!morph) - return; + return NULL; if (--morph->ref > 0) - return; + return NULL; isl_basic_set_free(morph->dom); isl_basic_set_free(morph->ran); isl_mat_free(morph->map); isl_mat_free(morph->inv); free(morph); + + return NULL; } /* Is "morph" an identity on the parameters? |