Skip to content
  • seraphime's avatar
    Fix trac #10647: Notice about lack of SIMD support · f12fb8ab
    seraphime authored and Ben Gamari's avatar Ben Gamari committed
    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
    f12fb8ab