projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ba806d
)
[project @ 2005-04-11 08:52:47 by simonmar]
author
simonmar
<unknown>
Mon, 11 Apr 2005 08:52:47 +0000
(08:52 +0000)
committer
simonmar
<unknown>
Mon, 11 Apr 2005 08:52:47 +0000
(08:52 +0000)
Add a Todo
ghc/compiler/nativeGen/AsmCodeGen.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/AsmCodeGen.lhs
b/ghc/compiler/nativeGen/AsmCodeGen.lhs
index
2675a26
..
cb2d4f7
100644
(file)
--- a/
ghc/compiler/nativeGen/AsmCodeGen.lhs
+++ b/
ghc/compiler/nativeGen/AsmCodeGen.lhs
@@
-379,6
+379,9
@@
Ideas for other things we could do (ToDo):
- shortcut jumps-to-jumps
- eliminate dead code blocks
+ - simple CSE: if an expr is assigned to a temp, then replace later occs of
+ that expr with the temp, until the expr is no longer valid (can push through
+ temp assignments, and certain assigns to mem...)
-}
cmmToCmm :: CmmTop -> (CmmTop, [CLabel])