mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
gallivm: Re-enable LLVMUnionTypeKind case for llvm-2.7 only.
LLVMUnionTypeKind is not in llvm-2.6, llvm-2.8, llvm-2.9, or llvm-3.0svn.
(cherry picked from commit 1844ae7e7e)
This commit is contained in:
parent
2c1998b3b9
commit
32f4a83fe8
1 changed files with 2 additions and 2 deletions
|
|
@ -333,10 +333,10 @@ lp_typekind_name(LLVMTypeKind t)
|
|||
return "LLVMVectorTypeKind";
|
||||
case LLVMMetadataTypeKind:
|
||||
return "LLVMMetadataTypeKind";
|
||||
/* Only in LLVM 2.7 and later???
|
||||
#if HAVE_LLVM == 0x0207
|
||||
case LLVMUnionTypeKind:
|
||||
return "LLVMUnionTypeKind";
|
||||
*/
|
||||
#endif
|
||||
default:
|
||||
return "unknown LLVMTypeKind";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue