[commit: ghc] wip/aarch64-regd: Switch to LLVM version 3.7 (8e7c761)

git at git.haskell.org git at git.haskell.org
Mon Oct 12 08:18:33 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/aarch64-regd
Link       : http://ghc.haskell.org/trac/ghc/changeset/8e7c761b127502f9f670e2a56e31d96d96cf0bbd/ghc

>---------------------------------------------------------------

commit 8e7c761b127502f9f670e2a56e31d96d96cf0bbd
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Sat Oct 10 10:54:24 2015 +1100

    Switch to LLVM version 3.7
    
    Summary:
    Before this commit, GHC only supported LLVM 3.6. Now it only supports
    LLVM 3.7 which was released in August 2015. LLVM version 3.6 and earlier
    do not work on AArch64/Arm64, but 3.7 does.
    
    Also:
    * Add CC_Ghc constructor to LlvmCallConvention.
    * Replace `maxSupportLlvmVersion`/`minSupportLlvmVersion` with
      a single `supportedLlvmVersion` variable.
    * Get `supportedLlvmVersion` from version specified in configure.ac.
    * Drop llvmVersion field from DynFlags (no longer needed because only
      one version is supported).
    
    Test Plan: Validate on x86_64 and arm
    
    Reviewers: bgamari, austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1320
    
    GHC Trac Issues: #10953


>---------------------------------------------------------------

8e7c761b127502f9f670e2a56e31d96d96cf0bbd
 compiler/llvmGen/Llvm/PpLlvm.hs      | 14 ++++++++---
 compiler/llvmGen/Llvm/Types.hs       |  3 +++
 compiler/llvmGen/LlvmCodeGen.hs      | 13 +++-------
 compiler/llvmGen/LlvmCodeGen/Base.hs | 20 ++++++---------
 compiler/main/DriverPipeline.hs      | 47 ++++++++++--------------------------
 compiler/main/DynFlags.hs            |  5 ----
 compiler/main/SysTools.hs            | 17 +++++++------
 configure.ac                         |  4 ++-
 8 files changed, 48 insertions(+), 75 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 8e7c761b127502f9f670e2a56e31d96d96cf0bbd


More information about the ghc-commits mailing list