Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#10953 closed bug (fixed)

Switch to LLVM 3.7

Reported by: erikd Owned by: erikd
Priority: normal Milestone: 8.0.1
Component: Compiler (LLVM) Version: 7.11
Keywords: Cc: bgamari
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D1320
Wiki Page:

Description

LLVM 3.6 is broken on AArch64/Arm64 and LLVM 3.7 was released in August.

I already have git master building with LLVM-3.7 on x86_64/linux and can test on numerous others.

Change History (3)

comment:1 Changed 2 years ago by erikd

Differential Rev(s): Phab:D1320

comment:2 Changed 2 years ago by Erik de Castro Lopo <erikd@…>

In 29310b62/ghc:

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

comment:4 Changed 2 years ago by erikd

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.