Skip to content

gallium/gallivm: fix compilation issues with llvm 11

Jan Zielinski requested to merge jzielins/mesa:gallivm-fix-llvm-11 into master

Top of the trunk LLVM removes old vector type and introduces two new ones - one for fixed-width and one for scalable vectors.

This commit fixes compilation issues by switching from LLVMVectorTypeKind to LLVMFixedVectorTypeKind for new LLVM.

Passrate in piglit with and without the change is the same for LLVM 10.0.1. For top of the trunk LLVM 11 I see 52 pass -> crash changes, but I'll let other developers to investigate it - hope it's not a show stoper for merging.

Merge request reports