llvm-project/polly/test/Isl
Roman Lebedev 78b8ce40ef
Reland [SCEV] Improve modelling for (null) pointer constants
This reverts commit 329aeb5db4,
and relands commit 61f006ac65.

This is a continuation of D89456.

As it was suggested there, now that SCEV models `PtrToInt`,
we can try to improve SCEV's pointer handling.
In particular, i believe, i will need this in the future
to further fix `SCEVAddExpr`operation type handling.

This removes special handling of `ConstantPointerNull`
from `ScalarEvolution::createSCEV()`, and add constant folding
into `ScalarEvolution::getPtrToIntExpr()`.
This way, `null` constants stay as such in SCEV's,
but gracefully become zero integers when asked.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D98147
2021-03-13 16:05:34 +03:00
..
Ast [Polly] Update isl to isl-0.23-61-g24e8cd12. 2021-01-19 12:01:31 -06:00
CodeGen Reland [SCEV] Improve modelling for (null) pointer constants 2021-03-13 16:05:34 +03:00
isl-args.ll [Polly] Add -polly-isl-arg command line option. 2020-04-06 08:56:57 -05:00
single_loop_param_less_equal.ll
single_loop_param_less_than.ll
single_loop_uint_max_iterations.ll
single_loop_ull_max_iterations.ll