From a398168f7238b42c2fbecf940e09fc5ebef71f62 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 4 Mar 2015 13:09:50 -0800 Subject: clover: Fix build since llvm r231270 --- src/gallium/state_trackers/clover/llvm/invocation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); -- cgit v1.1