Bignum: allow naturalToWordClamp/Negate/Signum to inline (#20361)
We don't need built-in rules now that bignum literals (e.g. 123 :: Natural) match with their constructors (e.g. NS 123##).
Showing
- compiler/GHC/Builtin/Names.hs 0 additions, 15 deletionscompiler/GHC/Builtin/Names.hs
- compiler/GHC/Core/Opt/ConstantFold.hs 3 additions, 14 deletionscompiler/GHC/Core/Opt/ConstantFold.hs
- libraries/ghc-bignum/src/GHC/Num/Natural.hs 0 additions, 6 deletionslibraries/ghc-bignum/src/GHC/Num/Natural.hs
- testsuite/tests/numeric/should_compile/T14465.stdout 16 additions, 17 deletionstestsuite/tests/numeric/should_compile/T14465.stdout
Loading
Please register or sign in to comment