Skip to content
  • Jan Stolarek's avatar
    53948f91
    Restore old names of comparison primops · 53948f91
    Jan Stolarek authored
    In 6579a6c7 we removed existing comparison primops and introduced new ones
    returning Int# instead of Bool. This commit (and associated commits in
    array, base, dph, ghc-prim, integer-gmp, integer-simple, primitive, testsuite and
    template-haskell) restores old names of primops. This allows us to keep
    our API cleaner at the price of not having backwards compatibility.
    
    This patch also temporalily disables fix for #8317 (optimization of
    tagToEnum# at Core level). We need to fix #8326 first, otherwise
    our primops code will be very slow.
    53948f91
    Restore old names of comparison primops
    Jan Stolarek authored
    In 6579a6c7 we removed existing comparison primops and introduced new ones
    returning Int# instead of Bool. This commit (and associated commits in
    array, base, dph, ghc-prim, integer-gmp, integer-simple, primitive, testsuite and
    template-haskell) restores old names of primops. This allows us to keep
    our API cleaner at the price of not having backwards compatibility.
    
    This patch also temporalily disables fix for #8317 (optimization of
    tagToEnum# at Core level). We need to fix #8326 first, otherwise
    our primops code will be very slow.
Loading