[PATCH] D78933: [analyzer] RangeConstraintManager optimizations in comparison expressions
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 6 05:20:36 PDT 2020
xazax.hun added a comment.
Thanks for working on this, I do believe the analyzer would greatly profit from better constraint solving capabilities. Unfortunately, we had some troubles in the past trying to improve upon the current status and we had to revert multiple patches. This is why the community is super cautious when it comes to changes like this.
A high-level note:
Currently the constraint solver we have is interval based.
I think this patch makes a step towards a more refined domain: octagons [1].
At this point I wonder, if we should study octagons first, and see if there are some efficient implementation strategies are available.
I do not insist on rewriting the whole constraint manager to be octagon-based, but it would be useful to see what we actually pursuing here and what are the implications.
[1]: https://arxiv.org/pdf/cs/0703084.pdf
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78933/new/
https://reviews.llvm.org/D78933
More information about the cfe-commits
mailing list