summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-12-17 10:00:00 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-12-17 10:00:00 +0000
commitecf3b4b0d05e43bb18071d4fe68eb0dc1d6f4190 (patch)
tree5f70b02d1ebcf7a34e2705c653181f84b14a511e
parentBack port part of r555542 | gerald | 2020-11-17 from lang/gcc9-devel: (diff)
devel/intel-graphics-compiler: update to 1.0.5819
Changes: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.5819 Reported by: GitHub (watch releases)
-rw-r--r--devel/intel-graphics-compiler/Makefile4
-rw-r--r--devel/intel-graphics-compiler/distinfo10
-rw-r--r--devel/intel-graphics-compiler/files/patch-llvm1118
3 files changed, 25 insertions, 7 deletions
diff --git a/devel/intel-graphics-compiler/Makefile b/devel/intel-graphics-compiler/Makefile
index 3b8301650ca9..4d0d2cef6adf 100644
--- a/devel/intel-graphics-compiler/Makefile
+++ b/devel/intel-graphics-compiler/Makefile
@@ -2,7 +2,7 @@
PORTNAME= intel-graphics-compiler
DISTVERSIONPREFIX= igc-
-DISTVERSION= 1.0.5761
+DISTVERSION= 1.0.5819
CATEGORIES= devel
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -26,7 +26,7 @@ USES= bison cmake compiler:c++17-lang python:build
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= intel
-GH_TUPLE= intel:vc-intrinsics:a08fe5b:vcintrin/../vc-intrinsics
+GH_TUPLE= intel:vc-intrinsics:2de2dd4:vcintrin/../vc-intrinsics
CMAKE_OFF= INSTALL_SPIRVDLL
CFLAGS+= -Wno-macro-redefined # __fastcall
PLIST_SUB= ARCH_SUFX=${ARCH:S/i386/32/:S/amd//:S/x86_//}
diff --git a/devel/intel-graphics-compiler/distinfo b/devel/intel-graphics-compiler/distinfo
index 5e419089425e..852fa0db7135 100644
--- a/devel/intel-graphics-compiler/distinfo
+++ b/devel/intel-graphics-compiler/distinfo
@@ -1,8 +1,8 @@
-TIMESTAMP = 1606813350
-SHA256 (intel-intel-graphics-compiler-igc-1.0.5761_GH0.tar.gz) = 16f7b072f9f70c8e9d8f4d6ba6a9ce8f98834b82d7a73cbd5f717ea3f4dddb96
-SIZE (intel-intel-graphics-compiler-igc-1.0.5761_GH0.tar.gz) = 7117417
-SHA256 (intel-vc-intrinsics-a08fe5b_GH0.tar.gz) = e57f05d56e385449ed86fdbbb3b5f75ba67537dce137176e371c30081c4fea2f
-SIZE (intel-vc-intrinsics-a08fe5b_GH0.tar.gz) = 119121
+TIMESTAMP = 1607250955
+SHA256 (intel-intel-graphics-compiler-igc-1.0.5819_GH0.tar.gz) = f000414534bc29266f08203213fe9628f241751d992be6690431c0c65a774fac
+SIZE (intel-intel-graphics-compiler-igc-1.0.5819_GH0.tar.gz) = 7123768
+SHA256 (intel-vc-intrinsics-2de2dd4_GH0.tar.gz) = 30e6faf9add7c8773aa99641d2f366b7455b267232a47323acda1742640ef643
+SIZE (intel-vc-intrinsics-2de2dd4_GH0.tar.gz) = 120395
SHA256 (d878880cbb3b.patch) = f430b2da0d212594ce73f23b279a1435f08dea60f30ec35494411ab0dc0fcf70
SIZE (d878880cbb3b.patch) = 9088
SHA256 (f44eb990ac84.patch) = 4774683855caa8ef44a85a43356b7d509683bbdbef23e31ab6f5e4075715d67c
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(