summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/clover
diff options
context:
space:
mode:
authorAaron Watry <[email protected]>2013-11-01 10:25:43 -0500
committerTom Stellard <[email protected]>2013-11-04 08:51:57 -0800
commit1b2c6cd205bc35f0409ccf055a77e8ca6eab0db3 (patch)
tree0208e6b740edd713a231df871449e23d5edc2ae6 /src/gallium/state_trackers/clover
parent9fc41e2eeaad556810d68cc623a52ea551b9d907 (diff)
clover: fix build with LLVM 3.4
dso_list was added as an argument for createInternalizePass in 3.4, and then it was removed again in the same llvm version. Tested-by: Mike Lothian <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover')
-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);
}