cvs commit: fptools/ghc/compiler/coreSyn CoreUtils.lhs fptools/ghc/compiler/basicTypes
Literal.lhs
Simon Peyton Jones
simonpj@glass.cse.ogi.edu
Wed, 24 Oct 2001 08:11:28 -0700
simonpj 2001/10/24 08:11:28 PDT
Modified files:
ghc/compiler/coreSyn CoreUtils.lhs
ghc/compiler/basicTypes Literal.lhs
Log:
----------------
Division by zero
----------------
Teach GHC that the division primops can't fail if the divisor
is non-zero. This can eliminate some thunks in an inner loop.
Revision Changes Path
1.92 +38 -16 fptools/ghc/compiler/coreSyn/CoreUtils.lhs
1.32 +10 -0 fptools/ghc/compiler/basicTypes/Literal.lhs