#5256: code in an "else" branch that is never executed still does influence
runtime (Vectorizer?)
-------------------------------+--------------------------------------------
    Reporter:  j.waldmann      |       Owner:              
        Type:  bug             |      Status:  new         
    Priority:  normal          |   Component:  Compiler    
     Version:  7.0.3           |    Keywords:              
    Testcase:                  |   Blockedby:              
          Os:  Linux           |    Blocking:              
Architecture:  x86_64 (amd64)  |     Failure:  None/Unknown
-------------------------------+--------------------------------------------
 the following code contains
 {{{
 if foo then ... else bar
 }}}
 where foo evaluates to True.
 If I replace this by
 {{{
 if foo then ... else undefined
 }}}
 then execution gets faster drastically.

 The code uses Data.Vector.Unboxed.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5256>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to