git: 589ebddda442 - main - devel/vc-intrinsics: update to s20211110

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 12 Nov 2021 22:18:39 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=589ebddda442bf55b56de6b711db3af1ee9f6eff

commit 589ebddda442bf55b56de6b711db3af1ee9f6eff
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-11-10 10:33:21 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-11-12 22:17:59 +0000

    devel/vc-intrinsics: update to s20211110
    
    Changes:        https://github.com/intel/vc-intrinsics/compare/2cd5a7b...8ee8793
---
 devel/ispc/files/patch-src_func.cpp | 17 +++++++++++++++++
 devel/vc-intrinsics/Makefile        |  4 ++--
 devel/vc-intrinsics/distinfo        |  6 +++---
 3 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/devel/ispc/files/patch-src_func.cpp b/devel/ispc/files/patch-src_func.cpp
new file mode 100644
index 000000000000..ffbcebe61294
--- /dev/null
+++ b/devel/ispc/files/patch-src_func.cpp
@@ -0,0 +1,17 @@
+Regressed by https://github.com/intel/vc-intrinsics/commit/8ee879314584
+
+src/func.cpp:490:44: error: no member named 'Reserved_0' in 'llvm::genx::KernelMDOp'
+            mdArgs[llvm::genx::KernelMDOp::Reserved_0] =
+                   ~~~~~~~~~~~~~~~~~~~~~~~~^
+
+--- src/func.cpp.orig	2021-07-15 23:04:31 UTC
++++ src/func.cpp
+@@ -487,7 +487,7 @@ void Function::emitCode(FunctionEmitContext *ctx, llvm
+                 llvm::ValueAsMetadata::get(llvm::ConstantInt::getNullValue(i32Type));
+             mdArgs[llvm::genx::KernelMDOp::ArgIOKinds] = llvm::MDNode::get(fContext, argInOutKinds);
+             mdArgs[llvm::genx::KernelMDOp::ArgTypeDescs] = llvm::MDNode::get(fContext, argTypeDescs);
+-            mdArgs[llvm::genx::KernelMDOp::Reserved_0] =
++            mdArgs[llvm::genx::KernelMDOp::NBarrierCnt] =
+                 llvm::ValueAsMetadata::get(llvm::ConstantInt::getNullValue(i32Type));
+             mdArgs[llvm::genx::KernelMDOp::BarrierCnt] =
+                 llvm::ValueAsMetadata::get(llvm::ConstantInt::getNullValue(i32Type));
diff --git a/devel/vc-intrinsics/Makefile b/devel/vc-intrinsics/Makefile
index f695acf0a365..ace4dc8de7a5 100644
--- a/devel/vc-intrinsics/Makefile
+++ b/devel/vc-intrinsics/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	vc-intrinsics
-PORTVERSION=	s20211011
+PORTVERSION=	s20211110
 CATEGORIES=	devel
 PKGNAMESUFFIX=	-${FLAVOR}
 
@@ -15,7 +15,7 @@ BUILD_DEPENDS=	${FLAVOR}>0:devel/${FLAVOR}
 USES=		cmake compiler:c++11-lib
 USE_GITHUB=	yes
 GH_ACCOUNT=	intel
-GH_TAGNAME=	2cd5a7b
+GH_TAGNAME=	8ee8793
 CMAKE_ARGS=	-DLLVM_DIR:PATH="${LOCALBASE}/${FLAVOR}"
 CMAKE_INSTALL_PREFIX=		${PREFIX}/${FLAVOR}
 _PLIST_FILES=	include/llvm/GenXIntrinsics/GenXIntrOpts.h \
diff --git a/devel/vc-intrinsics/distinfo b/devel/vc-intrinsics/distinfo
index 2b74de4f64ef..1a1d6a1ca8f9 100644
--- a/devel/vc-intrinsics/distinfo
+++ b/devel/vc-intrinsics/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634548178
-SHA256 (intel-vc-intrinsics-s20211011-2cd5a7b_GH0.tar.gz) = da1ef9e56b5b105213ce15ef4a09832356be3f7a7c97d4ee2ad8836f55a658e1
-SIZE (intel-vc-intrinsics-s20211011-2cd5a7b_GH0.tar.gz) = 131128
+TIMESTAMP = 1636540401
+SHA256 (intel-vc-intrinsics-s20211110-8ee8793_GH0.tar.gz) = 860cfda67896fa85cc18df2e2ecf790640cf3681246f7264a7a6e6b7f259008e
+SIZE (intel-vc-intrinsics-s20211110-8ee8793_GH0.tar.gz) = 135818