Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/1f56b6cc076968d7d20bd960332443875d445153 >--------------------------------------------------------------- commit 1f56b6cc076968d7d20bd960332443875d445153 Author: Ian Lynagh <[email protected]> Date: Mon Oct 3 11:07:54 2011 +0100 Comment out commutableOp; we don't use it at the moment >--------------------------------------------------------------- compiler/prelude/PrimOp.lhs | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/compiler/prelude/PrimOp.lhs b/compiler/prelude/PrimOp.lhs index fcd737d..ec5c096 100644 --- a/compiler/prelude/PrimOp.lhs +++ b/compiler/prelude/PrimOp.lhs @@ -4,13 +4,6 @@ \section[PrimOp]{Primitive operations (machine-level)} \begin{code} -{-# OPTIONS -fno-warn-unused-binds #-} --- The above warning supression flag is a temporary kludge. --- While working on this module you are encouraged to remove it and fix --- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings --- for details - module PrimOp ( PrimOp(..), allThePrimOps, primOpType, primOpSig, @@ -485,12 +478,16 @@ getPrimOpResultInfo op -- gives rise to a ReturnAlg \end{code} -The commutable ops are those for which we will try to move constants -to the right hand side for strength reduction. +We do not currently make use of whether primops are commutable. + +We used to try to move constants to the right hand side for strength +reduction. \begin{code} +{- commutableOp :: PrimOp -> Bool #include "primop-commutable.hs-incl" +-} \end{code} Utils: _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
