gallivm: fix build on LLVM 12 due to LLVMAddConstantPropagationPass removal
authorMarek Olšák <marek.olsak@amd.com>
Tue, 1 Sep 2020 01:59:39 +0000 (21:59 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 06:59:33 +0000 (06:59 +0000)
commit52cac068621a5998f486f8e44f9c2d9d045d1c31
treefc18161a046a164065f909c6e919e3e73d4e2f61
parent8b1ab78985b54623200bc5e90c7149685bb4b7ce
gallivm: fix build on LLVM 12 due to LLVMAddConstantPropagationPass removal

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3465
Cc: 20.1 20.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6531>
src/gallium/auxiliary/gallivm/lp_bld_init.c