gallivm: Use LLVM global context.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 8 May 2014 14:21:49 +0000 (15:21 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 14 May 2014 10:05:00 +0000 (11:05 +0100)
commit920933e09e1643da146bc466df7f9c6c8bcb688f
tree7e8d44edf5acafc702d0aecdd54626e19ea4efa2
parent69f0835ff1dbf1d70418b56af9c97bb3aaecef27
gallivm: Use LLVM global context.

I saw that LLVM internally uses its global context for some things, even
when we use our own.  Given ours is also global, might as well use
LLVM's.

However, sepearate contexts can still be enabled with a simple source
code modification, for when the need/benefit arises.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_init.c