clover/llvm: Fix build against LLVM/Clang 4.0
authorAaron Watry <awatry@gmail.com>
Thu, 22 Mar 2018 01:21:51 +0000 (20:21 -0500)
committerAaron Watry <awatry@gmail.com>
Thu, 22 Mar 2018 02:03:23 +0000 (21:03 -0500)
commit23100acc8f1a7bfbe57febf7e5f3e8ef4d053fec
treee280ee59e0240b7f5a557c47eb35f952d1ad0f33
parentc135316555ccd052da544e79166f81dece55cebb
clover/llvm: Fix build against LLVM/Clang 4.0

The opencl 1.0 langstandard was renamed in 5.0+

v2: Move preprocessor check into compat.hpp

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/llvm/compat.hpp
src/gallium/state_trackers/clover/llvm/invocation.cpp