Commit bb15d3a
committed
fp_stability: extend control-flow filter to cancellation locs and more patterns
The _CONTROL_FLOW_RE filter was only applied to dd_line results; the
cancellation check was passing its locs through unfiltered, producing
subroutine declarations, else-if branches, and loop headers in the step
summary alongside real arithmetic sites.
Changes:
- Apply _is_arithmetic_loc filter to cancellation_locs in
_run_cancellation_check; log how many control-flow boundaries skipped.
- Extend _CONTROL_FLOW_RE to also catch:
- else / else if (...) then branches
- subroutine declarations (recursive/pure/elemental variants)1 parent ef7b21c commit bb15d3a
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
621 | 623 | | |
622 | 624 | | |
623 | 625 | | |
624 | | - | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
625 | 632 | | |
626 | 633 | | |
627 | 634 | | |
| |||
0 commit comments