[commit: ghc] master: Switch to LLVM version 3.7 (29310b6)

git at git.haskell.org git at git.haskell.org
Tue Oct 13 22:18:11 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/29310b622801733e1b29a9a61988406872db13ca/ghc

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

commit 29310b622801733e1b29a9a61988406872db13ca
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
    
    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


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

29310b622801733e1b29a9a61988406872db13ca
 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 29310b622801733e1b29a9a61988406872db13ca


More information about the ghc-commits mailing list