From: Tom Stellard Date: Wed, 4 Mar 2015 21:09:50 +0000 (-0800) Subject: clover: Fix build since llvm r231270 X-Git-Tag: upstream/17.1.0~20292 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a398168f7238b42c2fbecf940e09fc5ebef71f62;p=platform%2Fupstream%2Fmesa.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 9354812..4da62b9 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));