diff options
Diffstat (limited to 'devel/intel-graphics-compiler/files/patch-llvm11')
-rw-r--r-- | devel/intel-graphics-compiler/files/patch-llvm11 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/intel-graphics-compiler/files/patch-llvm11 b/devel/intel-graphics-compiler/files/patch-llvm11 index 6fdd07cab935..f5521d75892a 100644 --- a/devel/intel-graphics-compiler/files/patch-llvm11 +++ b/devel/intel-graphics-compiler/files/patch-llvm11 @@ -1,7 +1,25 @@ +IGC/VectorCompiler/lib/GenXCodeGen/GenXPatternMatch.cpp:2216:41: error: no viable conversion from 'llvm::ElementCount' to 'unsigned int' + return ConstantDataVector::getSplat(IGCLLVM::getElementCount(OperandWidth), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/local/llvm11/include/llvm/IR/Constants.h:803:38: note: passing argument to parameter 'NumElts' here + static Constant *getSplat(unsigned NumElts, Constant *Elt); + ^ + IGC/VectorCompiler/lib/GenXCodeGen/GenXThreadPrivateMemory.cpp:462:37: error: no member named 'getMask' in 'llvm::ShuffleVectorInst' NewVec1, NewVec2, ShuffleVec->getMask(), ShuffleVec->getName() + ".tpm"); ~~~~~~~~~~ ^ +--- IGC/VectorCompiler/lib/GenXCodeGen/GenXPatternMatch.cpp.orig 2020-12-06 10:35:55 UTC ++++ IGC/VectorCompiler/lib/GenXCodeGen/GenXPatternMatch.cpp +@@ -2213,7 +2213,7 @@ static void decomposeSdivPow2(Instruction &Sdiv, + + auto createConstantVector = [](unsigned int OperandWidth, Type *Ty, + int Value) { +- return ConstantDataVector::getSplat(IGCLLVM::getElementCount(OperandWidth), ++ return ConstantVector::getSplat(IGCLLVM::getElementCount(OperandWidth), + ConstantInt::get(Ty, Value)); + }; + --- IGC/VectorCompiler/lib/GenXCodeGen/GenXThreadPrivateMemory.cpp.orig 2020-11-21 02:52:12 UTC +++ IGC/VectorCompiler/lib/GenXCodeGen/GenXThreadPrivateMemory.cpp @@ -459,7 +459,11 @@ bool GenXThreadPrivateMemory::replaceShuffleVector( |