summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmSpillReload.hs
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2011-06-17 18:27:25 +0100
committerEdward Z. Yang <ezyang@mit.edu>2011-06-17 18:27:25 +0100
commitb8e0ce7b417d48fa01a48aca5ff9852cffc989d7 (patch)
treeb49cf139f1626370a43a08cb7a51ab73e85df6c1 /compiler/cmm/CmmSpillReload.hs
parent1687dab3968edf161e6eb759ff1041c7adb201f2 (diff)
downloadhaskell-b8e0ce7b417d48fa01a48aca5ff9852cffc989d7.tar.gz
Port MachOp folding to new code generator.
* Rewrote cmmMachOpFold to cmmMachOpFoldM, which returns Nothing if no folding took place. * Wrote some generic mapping functions which take functions of form 'a -> Maybe a' and are smart about sharing. * Split up optimizations from PIC and PPC work in the native codegen, so they'll be easier to turn off later (they are not currently being turned off, however.) * Whitespace fixes! ToDo: Turn off MachOp folding when new codegenerator is being used. Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Diffstat (limited to 'compiler/cmm/CmmSpillReload.hs')
0 files changed, 0 insertions, 0 deletions