summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer/recipes-opencl/igc/files/fix-build-with-llvm12.patch
diff options
context:
space:
mode:
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;