summaryrefslogtreecommitdiff
path: root/compiler/llvmGen/LlvmCodeGen/CodeGen.hs
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2015-11-29 22:49:46 +0100
committerBen Gamari <ben@smart-cactus.org>2015-11-29 22:50:06 +0100
commitbcd55a94f234f5efa4bb4fd24429dafc79d93106 (patch)
tree9c81c3e07dc0ca2119ae0a4c80fa0b12d1e06ec7 /compiler/llvmGen/LlvmCodeGen/CodeGen.hs
parentf101a822966c52e96438db52c5fff2c7384f0c4c (diff)
downloadhaskell-bcd55a94f234f5efa4bb4fd24429dafc79d93106.tar.gz
Some improvements on CoreToDos passed to plugins
This patch does two improvements: - We now show ToDos in `CoreDoPasses`. This is pretty important, otherwise `CoreDoPasses` makes debugging impossible in some cases. - Before running ToDos we run a cleanup pass on ToDos to remove `CoreDoNothing`s and flatten `CoreDoPasses`. This removes a lot of noise from `[CoreToDo]` argument passed to plugins. Reviewers: simonpj, bgamari, austin Reviewed By: bgamari, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1548
Diffstat (limited to 'compiler/llvmGen/LlvmCodeGen/CodeGen.hs')
0 files changed, 0 insertions, 0 deletions