summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2015-03-04 13:09:50 -0800
committerTom Stellard <[email protected]>2015-03-04 13:10:56 -0800
commita398168f7238b42c2fbecf940e09fc5ebef71f62 (patch)
treeff69f696d5334427ddbcec2a3e9ceb8ef19dc49a /src/gallium
parent68d2e395d9e18898ef74a635a93dfc4501c1c507 (diff)
clover: Fix build since llvm r231270
Diffstat (limited to 'src/gallium')
-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 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));