summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer/recipes-opencl/igc/files/fix-build-with-llvm12.patch
diff options
context:
space:
mode:
authorTeoh Suh Haw <suh.haw.teoh@intel.com>2023-04-12 16:08:51 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2023-04-13 10:48:16 +0800
commitaed4bb9af765daf139c751b6fac0b359f6e2f5c5 (patch)
treefd40120d1e13dca573f47248caa91edc8487d0a3 /dynamic-layers/clang-layer/recipes-opencl/igc/files/fix-build-with-llvm12.patch
parentef15b09a262e85d804596c19bd839d91ad3e2fb3 (diff)
downloadmeta-intel-aed4bb9af765daf139c751b6fac0b359f6e2f5c5.tar.gz
intel-graphics-compiler: upgrade 1.0.12812.24 -> 1.0.13230.7
Release Notes: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.13230.7 Drop already merged patches: c707d1e2244aec988bdd5d2a7473ef3a32a5bac7.patch d1761dfc3ca6b54bac0ee213389a65f84d2aa9b7.patch e09e752949e7af0231884d1b11ea907e3e8b1611.patch fix-build-with-llvm12.patch Fixes fuzz warnings. Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/igc/files/fix-build-with-llvm12.patch')
-rw-r--r--dynamic-layers/clang-layer/recipes-opencl/igc/files/fix-build-with-llvm12.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/files/fix-build-with-llvm12.patch b/dynamic-layers/clang-layer/recipes-opencl/igc/files/fix-build-with-llvm12.patch
deleted file mode 100644
index fb29c940..00000000
--- a/dynamic-layers/clang-layer/recipes-opencl/igc/files/fix-build-with-llvm12.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1The condition should be checking for <= 11 since the change is available
2in LLVM12:
3https://github.com/llvm/llvm-project/commit/322d0afd875df66b36e4810a2b95c20a8f22ab9b
4
5Upstream-Status: Submitted
6Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
7
8diff --git a/IGC/VectorCompiler/lib/GenXCodeGen/GenXSimdCFRegion.cpp b/IGC/VectorCompiler/lib/GenXCodeGen/GenXSimdCFRegion.cpp
9index 363d622c2..bbb04be30 100644
10--- a/IGC/VectorCompiler/lib/GenXCodeGen/GenXSimdCFRegion.cpp
11+++ b/IGC/VectorCompiler/lib/GenXCodeGen/GenXSimdCFRegion.cpp
12@@ -395,7 +395,7 @@ public:
13 return GenXIntrinsic::getGenXIntrinsicID(V) ==
14 GenXIntrinsic::genx_all ||
15 CI->getIntrinsicID() ==
16-#if LLVM_VERSION_MAJOR <= 12
17+#if LLVM_VERSION_MAJOR <= 11
18 Intrinsic::experimental_vector_reduce_and;
19 #else
20 Intrinsic::vector_reduce_and;
21@@ -408,7 +408,7 @@ public:
22 if (const CallInst *CI = dyn_cast<CallInst>(V))
23 return GenXIntrinsic::getGenXIntrinsicID(V) ==
24 GenXIntrinsic::genx_any || CI->getIntrinsicID() ==
25-#if LLVM_VERSION_MAJOR <= 12
26+#if LLVM_VERSION_MAJOR <= 11
27 Intrinsic::experimental_vector_reduce_or;
28 #else
29 Intrinsic::vector_reduce_or;