Add VecSlot for unboxed sums of SIMD vectors
This patch adds the missing `VecRep` case to `primRepSlot` function and all the necessary machinery to carry this new `VecSlot` through code generation. This allows programs involving unboxed sums of SIMD vectors to be written and compiled. Fixes #22187
Showing
- compiler/GHC/Cmm/Utils.hs 2 additions, 1 deletioncompiler/GHC/Cmm/Utils.hs
- compiler/GHC/Stg/Unarise.hs 2 additions, 0 deletionscompiler/GHC/Stg/Unarise.hs
- compiler/GHC/Types/Literal.hs 2 additions, 1 deletioncompiler/GHC/Types/Literal.hs
- compiler/GHC/Types/RepType.hs 4 additions, 2 deletionscompiler/GHC/Types/RepType.hs
- testsuite/tests/unboxedsums/T22187.hs 6 additions, 0 deletionstestsuite/tests/unboxedsums/T22187.hs
- testsuite/tests/unboxedsums/T22187_run.hs 50 additions, 0 deletionstestsuite/tests/unboxedsums/T22187_run.hs
- testsuite/tests/unboxedsums/T22187_run.stdout 4 additions, 0 deletionstestsuite/tests/unboxedsums/T22187_run.stdout
- testsuite/tests/unboxedsums/all.T 3 additions, 0 deletionstestsuite/tests/unboxedsums/all.T
Loading
Please register or sign in to comment