mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 23:40:10 +01:00
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa
ry,
This commit is contained in:
commit
1b79582f32
1 changed files with 3 additions and 1 deletions
|
|
@ -297,8 +297,10 @@ namespace {
|
|||
llvm::Argument &arg = *I;
|
||||
#if HAVE_LLVM < 0x0302
|
||||
llvm::TargetData TD(kernel_func->getParent());
|
||||
#else
|
||||
#elif HAVE_LLVM < 0x0304
|
||||
llvm::DataLayout TD(kernel_func->getParent()->getDataLayout());
|
||||
#else
|
||||
llvm::DataLayout TD(mod);
|
||||
#endif
|
||||
|
||||
llvm::Type *arg_type = arg.getType();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue