[GHC] #9439: LlvmCodegen: Overzealous mangler incorrectly transforms user code
GHC
ghc-devs at haskell.org
Mon Mar 23 21:57:08 UTC 2015
#9439: LlvmCodegen: Overzealous mangler incorrectly transforms user code
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: merge
Priority: highest | Milestone: 7.8.4
Component: Compiler (LLVM) | Version: 7.8.2
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking: 9268
| Differential Revisions: Phab:D150
-------------------------------------+-------------------------------------
Comment (by Erik de Castro Lopo <erikd@…>):
In [changeset:"42448e3757f25735a0a5b5e2b7ee456b5e8b0039/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="42448e3757f25735a0a5b5e2b7ee456b5e8b0039"
Do version specific detection of LLVM tools (#10170).
The LLVM developers seem to make breaking changes in the LLVM IR
language between major releases. As a consumer of the LLVM tools
GHC now needs to be locked more tightly to a single version of
the LLVM tools.
GHC HEAD currently only supports LLVM version 3.6. This commit
changes the configure script to look for `llc-3.6` and `opt-3.6`
before looking for `llc` and `opt`. If the former are not found,
but the later are, check that they actually are version 3.6.
At the same time, when detecting known problems with the LLVM
tools (ie #9439) test for it using the versions of the LLVM tools
retrieved from the bootstrap compiler's settings file.
Test Plan: Manual testing.
Reviewers: thomie, rwbarton, nomeata, austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D745
GHC Trac Issues: #10170
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9439#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list