Fix trac #10647: Notice about lack of SIMD support
authorSeraphime Kirkovski <kirkseraph@gmail.com>
Sat, 18 Jun 2016 10:28:19 +0000 (12:28 +0200)
committerBen Gamari <ben@smart-cactus.org>
Sat, 18 Jun 2016 22:27:06 +0000 (00:27 +0200)
commitf12fb8ab5d5ad7a26c84f98e446bc70064dcdcec
treed1e7b421a54b4d23fcd3d85eebf6cf296e63a568
parent4d71cc89b4e9648f3fbb29c8fcd25d725616e265
Fix trac #10647: Notice about lack of SIMD support

Fixes #10647. Changes the error message when a SIMD size
variable is required in the native code generation backend.

Test Plan:
Try compiling the test case given in the ticket :

{-# LANGUAGE MagicHash #-}
module Foo where
import GHC.Prim
data V = V Int8X16#

GHC should give a clearer error message

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2325

GHC Trac Issues: #10647
compiler/nativeGen/Format.hs