gallivm: Use standard LLVMSetAlignment from LLVM 3.4 onwards.
authorJose Fonseca <jfonseca@vmware.com>
Sat, 2 Apr 2016 13:31:16 +0000 (14:31 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Sun, 3 Apr 2016 08:51:27 +0000 (09:51 +0100)
commitbcfb86b09de3bfc9c7cdf6925658b5e529a8fc62
tree3609f16a54701d648f10beba4b7b0450300e6f0d
parent6d54096fa6cde0ebc7da29468071fe2c34aec0cf
gallivm: Use standard LLVMSetAlignment from LLVM 3.4 onwards.

Only provide a fallback for LLVM 3.3.

One less dependency on LLVM C++ interface.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/gallivm/lp_bld.h
src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c
src/gallium/auxiliary/gallivm/lp_bld_gather.c
src/gallium/auxiliary/gallivm/lp_bld_init.h
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
src/gallium/auxiliary/gallivm/lp_bld_struct.c
src/gallium/drivers/llvmpipe/lp_state_fs.c