summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2015-03-04 13:09:50 -0800
committerTom Stellard <thomas.stellard@amd.com>2015-03-04 13:10:56 -0800
commita398168f7238b42c2fbecf940e09fc5ebef71f62 (patch)
treeff69f696d5334427ddbcec2a3e9ceb8ef19dc49a /src
parent68d2e395d9e18898ef74a635a93dfc4501c1c507 (diff)
downloadexternal_mesa3d-a398168f7238b42c2fbecf940e09fc5ebef71f62.zip
external_mesa3d-a398168f7238b42c2fbecf940e09fc5ebef71f62.tar.gz
external_mesa3d-a398168f7238b42c2fbecf940e09fc5ebef71f62.tar.bz2
clover: Fix build since llvm r231270
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/clover/llvm/invocation.cpp2
1 files changed, 1 insertions, 1 deletions
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));