From 28b505a696acf289ff0986d0335ea0923a1de6d2 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 11 Apr 2005 08:52:47 +0000 Subject: [PATCH] [project @ 2005-04-11 08:52:47 by simonmar] Add a Todo --- ghc/compiler/nativeGen/AsmCodeGen.lhs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ghc/compiler/nativeGen/AsmCodeGen.lhs b/ghc/compiler/nativeGen/AsmCodeGen.lhs index 2675a26..cb2d4f7 100644 --- 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]) -- 1.7.10.4