summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CgInfoTbls.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-03-07 15:04:25 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-03-07 15:04:25 +0000
commit99293a48a06902591fc334accb060a821af64dbf (patch)
treec4f1181c9e071062b8629113820ac2f06cbfe2a3 /compiler/codeGen/CgInfoTbls.hs
parente2ee3344ffbb5057eb503f150b8ef5f52cd9ef26 (diff)
downloadhaskell-99293a48a06902591fc334accb060a821af64dbf.tar.gz
Improve common-block elimination
We need to compare middle nodes and expressions modulo the BlockId mapping too, because there are references to BlockIds in CmmStackSlot and CmmBlock. This lets us catch more common blocks - in particular we can share the heap-check fail code between multiple case alternatives, which is most cool.
Diffstat (limited to 'compiler/codeGen/CgInfoTbls.hs')
0 files changed, 0 insertions, 0 deletions