[GHC] #8131: T7571 with WAY=llvm fails, but not WAY=optllvm

GHC ghc-devs at haskell.org
Tue Jun 16 18:15:51 UTC 2015


#8131: T7571 with WAY=llvm fails, but not WAY=optllvm
-------------------------------------+-------------------------------------
        Reporter:  thoughtpolice     |                   Owner:  rwbarton
            Type:  bug               |                  Status:  patch
        Priority:  high              |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  7.7
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |  llvm/should_compile/T8131
                                     |                Blocking:
                                     |  Differential Revisions:  Phab:D624
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"a0d158fdd1db6b8f586bcbc1acd317d9836fb9dc/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a0d158fdd1db6b8f586bcbc1acd317d9836fb9dc"
 Encode alignment in MO_Memcpy and friends

 Summary:
 Alignment needs to be a compile-time constant. Previously the code
 generators had to jump through hoops to ensure this was the case as the
 alignment was passed as a CmmExpr in the arguments list. Now we take
 care of this up front.

 This fixes #8131.

 Authored-by: Reid Barton <rwbarton at gmail.com>
 Dusted-off-by: Ben Gamari <ben at smart-cactus.org>

 Tests for T8131

 Test Plan: Validate

 Reviewers: rwbarton, austin

 Reviewed By: rwbarton, austin

 Subscribers: bgamari, carter, thomie

 Differential Revision: https://phabricator.haskell.org/D624

 GHC Trac Issues: #8131
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8131#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list