mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
Revert "Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa"
This reverts commit1b79582f32, reversing changes made to376a98d345.
This commit is contained in:
parent
1b79582f32
commit
9dfd7c5f75
1 changed files with 1 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue