projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a09b7f7
)
gallivm: Re-enable LLVMUnionTypeKind case for llvm-2.7 only.
author
Vinson Lee
<vlee@vmware.com>
Mon, 11 Jul 2011 21:08:24 +0000
(14:08 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 11 Jul 2011 21:08:24 +0000
(14:08 -0700)
LLVMUnionTypeKind is not in llvm-2.6, llvm-2.8, llvm-2.9, or llvm-3.0svn.
src/gallium/auxiliary/gallivm/lp_bld_type.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_type.c
b/src/gallium/auxiliary/gallivm/lp_bld_type.c
index 11a2b055cc20c1d47096bc0f752b798c7ff66aca..efd159f886912b93431ea21f8694da62e202473d 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_type.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_type.c
@@
-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";
}