This replaces the support for user defined error functions by a heuristic that tries to determine if a call to a non-pure function should be considered "an error". If so the block is assumed not to be executed at runtime. While treating all non-pure function calls as errors will allow a lot more regions to be analyzed, it will also cause us to dismiss a lot again due to an infeasible runtime context. This patch tries to limit that effect. A non-pure function call is considered an error if it is executed only in conditionally.
Details
Details
- Reviewers
Meinersbur grosser
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Any heuristic is a good start. We can improve this gradually.
Just as observation, but I would guess that most error handling routines do not return a value.
include/polly/Support/ScopHelper.h | ||
---|---|---|
128 | being |
being