clover: Fix build after llvm r325155 and r325160
authorJan Vesely <jan.vesely@rutgers.edu>
Thu, 15 Feb 2018 19:00:38 +0000 (14:00 -0500)
committerJan Vesely <jan.vesely@rutgers.edu>
Thu, 15 Feb 2018 23:18:53 +0000 (18:18 -0500)
commit78673b614b01a8a416367db23937743c0e1aaa36
tree22f835d4dbb37e5f35766a432fb2b26d7b59da1d
parent05d84ed68add9e6adfcc602a274405e04226c1b7
clover: Fix build after llvm r325155 and r325160

r325155 ("Pass a reference to a module to the bitcode writer.")
and
r325160 ("Pass module reference to CloneModule")

change function interface from pointer to reference.

v2: Fix indentation (tab instead of spaces)

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp
src/gallium/state_trackers/clover/llvm/codegen/native.cpp
src/gallium/state_trackers/clover/llvm/compat.hpp