From: Tom Stellard Date: Wed, 4 Mar 2015 21:09:50 +0000 (-0800) Subject: clover: Fix build since llvm r231270 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a398168f7238b42c2fbecf940e09fc5ebef71f62;p=mesa.git clover: Fix build since llvm r231270 --- diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 93548122647..4da62b9b70c 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp @@ -332,7 +332,7 @@ namespace { PM.add(new llvm::DataLayout(mod)); #elif HAVE_LLVM < 0x0306 PM.add(new llvm::DataLayoutPass(mod)); -#else +#elif HAVE_LLVM < 0x0307 PM.add(new llvm::DataLayoutPass()); #endif PM.add(llvm::createInternalizePass(export_list));