summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2014-11-12 12:28:34 -0500
committerTom Stellard <[email protected]>2014-11-12 12:30:08 -0500
commit0cae7ea2719a939cf91de03a1bfeeeca08ec98a4 (patch)
treebffc4787eec4aaae5b681bc41f614fa75f991082 /src/gallium/state_trackers
parent977b18e48647f9a86a91c5032ed0041fc509b5d3 (diff)
Revert "clover: Fix build after llvm r221375"
This reverts commit cd93d82ba9ec8cd8e4f54bbee16d7b47c542de71. llvm r221375 was reverted, so this commit needs to be too.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/clover/llvm/invocation.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 3a4fcf0bc8b..e9538224bf6 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -282,11 +282,7 @@ namespace {
for (unsigned i = 0; i < kernel_node->getNumOperands(); ++i) {
kernels.push_back(llvm::dyn_cast<llvm::Function>(
-#if HAVE_LLVM >= 0x0306
- kernel_node->getOperandAsMDNode(i)->getOperand(0)));
-#else
kernel_node->getOperand(i)->getOperand(0)));
-#endif
}
}