Note [Recursion and nested cpr] and test case
the reason why we remove the converging flag of LoopBreakers is actually non-obvious, and has little to do with the termination analysis per se. Document that with an extensive note and guard it with two test cases.
Showing
- compiler/stranal/DmdAnal.lhs 40 additions, 0 deletionscompiler/stranal/DmdAnal.lhs
- testsuite/tests/stranal/should_run/Stream.hs 13 additions, 0 deletionstestsuite/tests/stranal/should_run/Stream.hs
- testsuite/tests/stranal/should_run/all.T 1 addition, 0 deletionstestsuite/tests/stranal/should_run/all.T
- testsuite/tests/stranal/sigs/StreamSig.hs 11 additions, 0 deletionstestsuite/tests/stranal/sigs/StreamSig.hs
- testsuite/tests/stranal/sigs/StreamSig.stderr 5 additions, 0 deletionstestsuite/tests/stranal/sigs/StreamSig.stderr
- testsuite/tests/stranal/sigs/all.T 1 addition, 0 deletionstestsuite/tests/stranal/sigs/all.T
Loading
Please register or sign in to comment