#8250: cgrun072 (optllvm) failing -------------------------------------+------------------------------------ Reporter: leroux | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler (LLVM) | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Runtime crash | Difficulty: Unknown Test Case: cgrun072 | Blocked By: Blocking: | Related Tickets: 7902 -------------------------------------+------------------------------------ Comment (by Austin Seipp <austin@…>): In [changeset:c8cd4dfa480bd259bb889c3e679393ffa426abb3/testsuite]: {{{ #!CommitTicketReference repository="testsuite" revision="c8cd4dfa480bd259bb889c3e679393ffa426abb3" Fix up cgrun072 a bit (#8250) This includes: * Adding a test for bswap16 with a low byte >= 128 * Also test the byteSwapN functions from GHC.Word, tested both INLINE and not INLINE, so we test both independent parts: the compilation of base, and the backend compiling the code *using* base. * Fix the usage of byteSwapN# primitives in the test, by masking off * the higher bits when storing the results in Word16/Word32. Thanks to Reid Barton for the investigation. Authored-by: Reid Barton <rwbarton@gmail.com> Signed-off-by: Austin Seipp <austin@well-typed.com> }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8250#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler