[GHC] #10383: AArch64: get GHC Calling convention working

GHC ghc-devs at haskell.org
Thu Oct 8 21:07:51 UTC 2015


#10383: AArch64: get GHC Calling convention working
----------------------------------------+-------------------------------
        Reporter:  erikd                |                Owner:  erikd
            Type:  feature request      |               Status:  new
        Priority:  normal               |            Milestone:  8.0.1
       Component:  Compiler             |              Version:  7.11
      Resolution:                       |             Keywords:
Operating System:  Unknown/Multiple     |         Architecture:  aarch64
 Type of failure:  Building GHC failed  |            Test Case:
      Blocked By:                       |             Blocking:
 Related Tickets:                       |  Differential Rev(s):
----------------------------------------+-------------------------------

Comment (by erikd):

 Its not mentioned in the release notes, however the IR docs for the `load`
 for 3.7 are here :

     http://llvm.org/releases/3.7.0/docs/LangRef.html#load-instruction

 which gives as an example:

 {{{
 %ptr = alloca i32                               ; yields i32*:ptr
 store i32 3, i32* %ptr                          ; yields void
 %val = load i32, i32* %ptr                      ; yields i32:val = i32 3
 }}}


 For 3.6 the docs are here:

     http://llvm.org/releases/3.6.0/docs/LangRef.html#load-instruction

 and the example is:

 {{{
 %ptr = alloca i32                               ; yields i32*:ptr
 store i32 3, i32* %ptr                          ; yields void
 %val = load i32* %ptr                           ; yields i32:val = i32 3
 }}}

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


More information about the ghc-tickets mailing list