summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/clover/llvm/invocation.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 4ae496ffb21..3f50317ad20 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -267,12 +267,7 @@ namespace {
llvm::Function *kernel = *I;
export_list.push_back(kernel->getName().data());
}
-#if HAVE_LLVM < 0x0304
PM.add(llvm::createInternalizePass(export_list));
-#else
- std::vector<const char*> dso_list;
- PM.add(llvm::createInternalizePass(export_list, dso_list));
-#endif
PM.run(*mod);
}