Define __GLASGOW_HASKELL_LLVM__ when using the LLVM back end.
authorGeoffrey Mainland <gmainlan@microsoft.com>
Wed, 20 Jun 2012 10:36:27 +0000 (11:36 +0100)
committerGeoffrey Mainland <gmainlan@microsoft.com>
Fri, 1 Feb 2013 22:00:23 +0000 (22:00 +0000)
commitd60df8246c208ba37da20a97c974d9318d8ec02b
tree46cf1b543f6fc73f45e7344be4deeaa130b4859f
parent1ee495b61fffcfa70495a539635c325a0ab5ddf7
Define __GLASGOW_HASKELL_LLVM__ when using the LLVM back end.

When compiling via LLVM, GHC now defines the CPP symbol __GLASGOW_HASKELL_LLVM__
to the version of LLVM used, e.g., __GLASGOW_HASKELL_LLVM__ is defined to be 30
for LLVM version 3.0.
compiler/main/DriverPipeline.hs
docs/users_guide/phases.xml