[GHC] #9391: LLVM 3.2 crash (AVX messes up GHC calling convention)

GHC ghc-devs at haskell.org
Tue Aug 19 10:42:00 UTC 2014


#9391: LLVM 3.2 crash (AVX messes up GHC calling convention)
-------------------------------------+-------------------------------------
              Reporter:  scpmw       |            Owner:
                  Type:  bug         |           Status:  infoneeded
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.2
  (LLVM)                             |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:  MacOS X     |       Difficulty:  Easy (less than 1
       Type of failure:  Runtime     |  hour)
  crash                              |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by thoughtpolice):

 * status:  patch => infoneeded


Comment:

 Comments:

 For the check on line 1444 for `ver == 32`, why is this last? If we only
 issue a warning, then it will simply match on `isAvxEnabled dflags` (line
 1443) and still pass in the right arguments. Would it not be more correct
 to have this branch checked first and instead turn off AVX completely?

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


More information about the ghc-tickets mailing list