gallivm: add compare exchange wrapper
authorDave Airlie <airlied@redhat.com>
Mon, 1 Jul 2019 21:10:53 +0000 (07:10 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 7 Jul 2019 06:23:32 +0000 (16:23 +1000)
commit2a55acbc1de0b8d1901988ee4f17d5697519c2d2
tree0a625d7bdc92bf1bfb5c761725f4ba26b3d274fd
parent4f709c86a92e561b4b72f6ace44e1fbf9fae5e67
gallivm: add compare exchange wrapper

This just pulls the wrapper from LLVM for older versions

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld.h
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
src/gallium/auxiliary/gallivm/lp_bld_misc.h