Fix Trac #3736: do not preInlineUnconditionally with INLINE
authorsimonpj@microsoft.com <unknown>
Fri, 5 Mar 2010 17:27:59 +0000 (17:27 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 5 Mar 2010 17:27:59 +0000 (17:27 +0000)
commit1b0259ee4fef03155482db050ae22ec93272e5fa
tree1a305918fda3927b667b95488f49405635f806b8
parentb4556cace1b420341c3e3bc6c1d7a7f693c655e4
Fix Trac #3736: do not preInlineUnconditionally with INLINE

preInlineUnconditionally was, in effect, nuking an INLINE pragma, with
very bad effect on runtime in this program.  Fortunately the fix is
very simple.

See Note [InlineRule and preInlineUnconditionally] in SimplUtils.
compiler/simplCore/SimplUtils.lhs