diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2022-04-05 10:34:33 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-04-05 15:59:12 +0800 |
commit | c993e8e815b34129b75e761ad249a526830973b1 (patch) | |
tree | 910059602e3da50ef6fef1b0bbc291dfe9d38a25 /dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0011-ispc-10_0_fix_for_1844.patch | |
parent | 7bb49b1ae15ab04b352edb58e97927f75846c9b0 (diff) | |
download | meta-intel-c993e8e815b34129b75e761ad249a526830973b1.tar.gz |
Remove support for building with LLVM 10
We no longer support building with older branches of OE-Core/meta-clang
so remove LLVM 10 specific configurations and patches.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0011-ispc-10_0_fix_for_1844.patch')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0011-ispc-10_0_fix_for_1844.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0011-ispc-10_0_fix_for_1844.patch b/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0011-ispc-10_0_fix_for_1844.patch deleted file mode 100644 index e3e70107..00000000 --- a/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0011-ispc-10_0_fix_for_1844.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 62b05a69b4a185cd0b7535f19742686e19fcaf22 Mon Sep 17 00:00:00 2001 | ||
2 | From: Naveen Saini <naveen.kumar.saini@intel.com> | ||
3 | Date: Fri, 27 Aug 2021 12:02:37 +0800 | ||
4 | Subject: [PATCH 2/2] Fix for #1844, affects avx512skx-i8x64 and | ||
5 | avx512skx-i16x32. | ||
6 | |||
7 | It's a port of 11.0 commit edcfb47ff6d5562e22207f364c65f84302aa346b | ||
8 | https://reviews.llvm.org/D76312 | ||
9 | |||
10 | Upstream-Status: Backport | ||
11 | |||
12 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
13 | --- | ||
14 | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 4 +++- | ||
15 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
18 | index 2743acc89bca..439a8367dabe 100644 | ||
19 | --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
20 | +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
21 | @@ -10841,7 +10841,9 @@ SDValue DAGCombiner::visitTRUNCATE(SDNode *N) { | ||
22 | |||
23 | // Attempt to pre-truncate BUILD_VECTOR sources. | ||
24 | if (N0.getOpcode() == ISD::BUILD_VECTOR && !LegalOperations && | ||
25 | - TLI.isTruncateFree(SrcVT.getScalarType(), VT.getScalarType())) { | ||
26 | + TLI.isTruncateFree(SrcVT.getScalarType(), VT.getScalarType()) && | ||
27 | + // Avoid creating illegal types if running after type legalizer. | ||
28 | + (!LegalTypes || TLI.isTypeLegal(VT.getScalarType()))) { | ||
29 | SDLoc DL(N); | ||
30 | EVT SVT = VT.getScalarType(); | ||
31 | SmallVector<SDValue, 8> TruncOps; | ||
32 | -- | ||
33 | 2.17.1 | ||
34 | |||