commit: 78f6c61007a059d12df76503152c689f5c76dc03 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Aug 5 22:53:05 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Aug 5 22:53:05 2023 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=78f6c610
13.2: drop obsolete upstream patch (82_all_arm64_PR110280_ICE_fold-const.patch) In latest snapshot. Signed-off-by: Sam James <sam <AT> gentoo.org> .../82_all_arm64_PR110280_ICE_fold-const.patch | 53 ---------------------- 13.2.0/gentoo/README.history | 3 ++ 2 files changed, 3 insertions(+), 53 deletions(-) diff --git a/13.2.0/gentoo/82_all_arm64_PR110280_ICE_fold-const.patch b/13.2.0/gentoo/82_all_arm64_PR110280_ICE_fold-const.patch deleted file mode 100644 index d27ca7a..0000000 --- a/13.2.0/gentoo/82_all_arm64_PR110280_ICE_fold-const.patch +++ /dev/null @@ -1,53 +0,0 @@ -https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110280 -https://inbox.sourceware.org/gcc-patches/[email protected]/T/#t - -From 85d8e0d8d5342ec8b4e6a54e22741c30b33c6f04 Mon Sep 17 00:00:00 2001 -From: Prathamesh Kulkarni <[email protected]> -Date: Fri, 23 Jun 2023 15:27:17 +0530 -Subject: [PATCH] [aarch64/match.pd] Fix ICE observed in PR110280. - -gcc/ChangeLog: - PR tree-optimization/110280 - * match.pd (vec_perm_expr(v, v, mask) -> v): Explicitly build vector - using build_vector_from_val with the element of input operand, and - mask's type if operand and mask's types don't match. - -gcc/testsuite/ChangeLog: - PR tree-optimization/110280 - * gcc.target/aarch64/sve/pr110280.c: New test. - -(cherry picked from commit 85d8e0d8d5342ec8b4e6a54e22741c30b33c6f04) - ---- a/gcc/match.pd -+++ b/gcc/match.pd -@@ -8292,7 +8292,14 @@ and, - - (simplify - (vec_perm vec_same_elem_p@0 @0 @1) -- @0) -+ (if (types_match (type, TREE_TYPE (@0))) -+ @0 -+ (with -+ { -+ tree elem = uniform_vector_p (@0); -+ } -+ (if (elem) -+ { build_vector_from_val (type, elem); })))) - - /* Push VEC_PERM earlier if that may help FMA perception (PR101895). */ - (simplify ---- /dev/null -+++ b/gcc/testsuite/gcc.target/aarch64/sve/pr110280.c -@@ -0,0 +1,12 @@ -+/* { dg-do compile } */ -+/* { dg-options "-O3 -fdump-tree-optimized" } */ -+ -+#include "arm_sve.h" -+ -+svuint32_t l() -+{ -+ _Alignas(16) const unsigned int lanes[4] = {0, 0, 0, 0}; -+ return svld1rq_u32(svptrue_b8(), lanes); -+} -+ -+/* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "optimized" } } */ diff --git a/13.2.0/gentoo/README.history b/13.2.0/gentoo/README.history index 998f555..769413a 100644 --- a/13.2.0/gentoo/README.history +++ b/13.2.0/gentoo/README.history @@ -1,3 +1,6 @@ +5 05 Aug 2023 + - 82_all_arm64_PR110280_ICE_fold-const.patch + 4 30 Jul 2023 U 31_all_gm2_make_P_var.patch
