Simon Peyton-Jones wrote:
| Anyway, I don't think it's an inliner bug because divInt# and friends
| aren't marked INLINE. If nobody objects, I'll go ahead and add the
| INLINE pragmas at least. We lose the opportunity to have rewrite rules
| for divInt# this way, though, which is a pity.

You could still have a RULE for divInt# and arrange to inline it in a late 
phase (like Phase 0).  That way you'd get the best of both worlds.

But no constant folding for divInt# until phase 0. I suspect that constant folding is more important than rules.

Roman

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to