#5702: Can't vectorise pattern matching on numeric literals
------------------------------+---------------------------------------------
Reporter: chak | Owner: chak
Type: bug | Status: new
Priority: normal | Component: Data Parallel Haskell
Version: 7.3 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
Trying to vectorise
{{{
toBool :: Int -> Bool
toBool 0 = False
toBool _ = True
}}}
we get
{{{
*** Vectorisation error ***
Can't vectorise expression GHC.Prim.Int#
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5702>
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