diff options
author | Timothy Arceri <[email protected]> | 2014-02-26 08:46:08 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2014-02-26 08:46:08 +1100 |
commit | 9dfd7c5f75c806801b1b4b4d405899236c09ba75 (patch) | |
tree | 97caefdaa4ef775bb5035d16eb163f30af021785 /src/gallium/state_trackers/clover/llvm | |
parent | 1b79582f322d4a89dd6d197c8d4962c788ae7f25 (diff) |
Revert "Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa"
This reverts commit 1b79582f322d4a89dd6d197c8d4962c788ae7f25, reversing
changes made to 376a98d345dfc3da8d5b0f1e489196f861c4e754.
Diffstat (limited to 'src/gallium/state_trackers/clover/llvm')
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/invocation.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index cdf32b6e3fb..e8266693bd0 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp @@ -297,10 +297,8 @@ namespace { llvm::Argument &arg = *I; #if HAVE_LLVM < 0x0302 llvm::TargetData TD(kernel_func->getParent()); -#elif HAVE_LLVM < 0x0304 - llvm::DataLayout TD(kernel_func->getParent()->getDataLayout()); #else - llvm::DataLayout TD(mod); + llvm::DataLayout TD(kernel_func->getParent()->getDataLayout()); #endif llvm::Type *arg_type = arg.getType(); |