mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01: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.
This commit is contained in:
parent
a09b7f7f15
commit
1844ae7e7e
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