Refactor, document, and optimize LLVM configuration loading

Authored by bgamari on Jul 29 2019, 6:34 PM.

Description

Refactor, document, and optimize LLVM configuration loading

As described in the new Note [LLVM Configuration] in SysTools, we now
load llvm-targets and llvm-passes lazily to avoid the overhead of doing
so when -fllvm isn't used (also known as "the common case").

Noticed in Trac #17003.

Metric Decrease:

T12234
T12150

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Mon, Oct 7, 11:01 AM
Parents
rGHC825c108bd26f: Only flatten up to type family arity in coreFlattenTyFamApp (#16995)
Branches
Unknown
Tags
Unknown