@gron

An LLVM Backend for GHC

, and . Proceedings of the third ACM Haskell symposium on Haskell, page 109--120. New York, NY, USA, ACM, (2010)
DOI: 10.1145/1863523.1863538

Abstract

In the presence of ever-changing computer architectures, high-quality optimising compiler backends are moving targets that require specialist knowledge and sophisticated algorithms. In this paper, we explore a new backend for the Glasgow Haskell Compiler (GHC) that leverages the <i>Low Level Virtual Machine (LLVM)</i>, a new breed of compiler written explicitly for use by other compiler writers, not high-level programmers, that promises to enable outsourcing of low-level and architecture-dependent aspects of code generation. We discuss the conceptual challenges and our backend design. We also provide an extensive quantitative evaluation of the performance of the backend and of the code it produces.

Description

An llVM backend for GHC

Links and resources

Tags

community

  • @gron
  • @dblp
@gron's tags highlighted