summaryrefslogtreecommitdiff
path: root/compiler/cmm/PprCmm.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-11-17 14:45:15 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-11-17 14:45:15 +0000
commit0fa59deb44b8a1a0b44ee2b4cc4ae0db31dec038 (patch)
treeaf9ebb1997ee0520325c21ea2cc4797430155944 /compiler/cmm/PprCmm.hs
parent94bdf8cb5234289267310b1134b5877f31ddada0 (diff)
downloadhaskell-0fa59deb44b8a1a0b44ee2b4cc4ae0db31dec038.tar.gz
Fix #2783: detect black-hole loops properly
At some point we regressed on detecting simple black-hole loops. This happened due to the introduction of duplicate-work detection for parallelism: a black-hole loop looks very much like duplicate work, except it's duplicate work being performed by the very same thread. So we have to detect and handle this case.
Diffstat (limited to 'compiler/cmm/PprCmm.hs')
0 files changed, 0 insertions, 0 deletions