Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
43176 commits behind, 90 commits ahead of the upstream repository.
user avatar
Simon Peyton Jones authored
Two changes here

* The main change here is to enhance the FloatIn pass so that it can
  float case-bindings inwards.  In particular the case bindings for
  array indexing.

* Also change the code in Simplify, to allow a case on array
  indexing (ie can_fail is true) to be discarded altogether if its
  results are unused.

Lots of new comments in PrimOp about can_fail and has_side_effects

Some refactoring to share the FloatBind data structure between
FloatIn and FloatOut
55e4870d
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.