Started by user snail Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on docker-jenkins-agent in workspace /home/jenkins/agent/workspace/gcc-patch [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Done The recommended git tool is: NONE using credential 0adb5fc7-caa2-429d-97d2-c7fa2fa1d884 Cloning the remote Git repository Using shallow clone with depth 1 Avoid fetching tags Cloning repository git@github.com:wangliu-iscas/gcc-patch.git/ > git init /home/jenkins/agent/workspace/gcc-patch # timeout=10 Fetching upstream changes from git@github.com:wangliu-iscas/gcc-patch.git/ > git --version # timeout=10 > git --version # 'git version 2.37.2' using GIT_SSH to set credentials patchwork github wangliu-iscas git ssh key Verifying host key using known hosts file, will automatically accept unseen keys > git fetch --no-tags --force --progress --depth=1 -- git@github.com:wangliu-iscas/gcc-patch.git/ +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:wangliu-iscas/gcc-patch.git/ # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision a75e9bee7c23403d3cc7085a249f230de50c4c3e (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f a75e9bee7c23403d3cc7085a249f230de50c4c3e # timeout=10 Commit message: "Add cases for CFN_BUILT_IN_SIGNBIT[FL]." > git rev-list --no-walk a75e9bee7c23403d3cc7085a249f230de50c4c3e # timeout=10 [EnvInject] - Mask passwords that will be passed as build parameters. [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content GITHUB_REPO=https://github.com/wangliu-iscas/ PATCHWORK_URL=https://patchwork.plctlab.org [EnvInject] - Variables injected successfully. [gcc-patch] $ /usr/bin/env bash /tmp/jenkins358339107779721180.sh + git config pull.rebase false + git fetch origin master From github.com:wangliu-iscas/gcc-patch * branch master -> FETCH_HEAD + git checkout master Switched to a new branch 'master' branch 'master' set up to track 'origin/master'. + git pull origin master From github.com:wangliu-iscas/gcc-patch * branch master -> FETCH_HEAD Already up to date. + git fetch origin upstream-master From github.com:wangliu-iscas/gcc-patch * branch upstream-master -> FETCH_HEAD + git checkout upstream-master Switched to a new branch 'upstream-master' branch 'upstream-master' set up to track 'origin/upstream-master'. + git remote add upstream https://github.com/gcc-mirror/gcc.git + git pull upstream master From https://github.com/gcc-mirror/gcc * branch master -> FETCH_HEAD * [new branch] master -> upstream/master Already up to date. + git push -u origin upstream-master Everything up-to-date branch 'upstream-master' set up to track 'origin/upstream-master'. + git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. + git merge upstream-master Already up to date. + git push -u origin master Everything up-to-date branch 'master' set up to track 'origin/master'. + branchname=series1923-patch2629 ++ git branch -a ++ grep 'series1923-patch2629$' + checkbranch= + checkbranchresult=null + '[' null = series1923-patch2629 ']' + git checkout -b series1923-patch2629 Switched to a new branch 'series1923-patch2629' ++ curl https://patchwork.plctlab.org/api/1.2/series/1923/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1395 100 1395 0 0 39857 0 --:--:-- --:--:-- --:--:-- 39857 + series_response='{"id":1923,"url":"https://patchwork.plctlab.org/api/1.2/series/1923/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/list/?series=1923","project":{"id":1,"url":"https://patchwork.plctlab.org/api/1.2/projects/1/","name":"gcc-patch","link_name":"gcc-patch","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":"https://gcc.gnu.org/mailman/listinfo/gcc-patches","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"name":"tree-optimization/107254 - check and support live lanes from permutes","date":"2022-10-14T09:51:20","submitter":{"id":15,"url":"https://patchwork.plctlab.org/api/1.2/people/15/","name":"Richard Biener","email":"rguenther@suse.de"},"version":1,"total":1,"received_total":1,"received_all":true,"mbox":"https://patchwork.plctlab.org/series/1923/mbox/","cover_letter":null,"patches":[{"id":2629,"url":"https://patchwork.plctlab.org/api/1.2/patches/2629/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/","msgid":"<20221014095120.D070313A4A@imap2.suse-dmz.suse.de>","list_archive_url":null,"date":"2022-10-14T09:51:20","name":"tree-optimization/107254 - check and support live lanes from permutes","mbox":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/"}]}' ++ echo '{"id":1923,"url":"https://patchwork.plctlab.org/api/1.2/series/1923/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/list/?series=1923","project":{"id":1,"url":"https://patchwork.plctlab.org/api/1.2/projects/1/","name":"gcc-patch","link_name":"gcc-patch","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":"https://gcc.gnu.org/mailman/listinfo/gcc-patches","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"name":"tree-optimization/107254 - check and support live lanes from permutes","date":"2022-10-14T09:51:20","submitter":{"id":15,"url":"https://patchwork.plctlab.org/api/1.2/people/15/","name":"Richard Biener","email":"rguenther@suse.de"},"version":1,"total":1,"received_total":1,"received_all":true,"mbox":"https://patchwork.plctlab.org/series/1923/mbox/","cover_letter":null,"patches":[{"id":2629,"url":"https://patchwork.plctlab.org/api/1.2/patches/2629/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/","msgid":"<20221014095120.D070313A4A@imap2.suse-dmz.suse.de>","list_archive_url":null,"date":"2022-10-14T09:51:20","name":"tree-optimization/107254 - check and support live lanes from permutes","mbox":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/"}]}' ++ jq '.patches[] | (.id|tostring) + "," + .mbox' + patchid_patchurl='"2629,https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/"' + IFS=, + read -r series_patch_id series_patch_url + echo '"2629,https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/"' ++ echo '"2629' ++ sed 's/"//g' + series_patch_id=2629 ++ echo 'https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/"' ++ sed 's/"//g' + series_patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++ git rev-parse HEAD + commitid_before=a75e9bee7c23403d3cc7085a249f230de50c4c3e + eval '+++ declare -p bout bret declare -- bout="Applying: tree-optimization/107254 - check and support live lanes from permutes Using index info to reconstruct a base tree... M gcc/tree-vect-slp.cc Falling back to patching base and 3-way merge... Auto-merging gcc/tree-vect-slp.cc No changes -- Patch already applied." declare -- bret="0" ++ berr='\''++++ git_am https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ curl https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ git am -3 --empty=drop % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10831 100 10831 0 0 311k 0 --:--:-- --:--:-- --:--:-- 311k +++ bout='\''\'\'''\''Applying: tree-optimization/107254 - check and support live lanes from permutes Using index info to reconstruct a base tree... M gcc/tree-vect-slp.cc Falling back to patching base and 3-way merge... Auto-merging gcc/tree-vect-slp.cc No changes -- Patch already applied.'\''\'\'''\'' +++ bret=0'\'' ++ declare -p berr declare -- berr="++++ git_am https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ curl https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ git am -3 --empty=drop % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10831 100 10831 0 0 311k 0 --:--:-- --:--:-- --:--:-- 311k +++ bout='\''Applying: tree-optimization/107254 - check and support live lanes from permutes Using index info to reconstruct a base tree... M gcc/tree-vect-slp.cc Falling back to patching base and 3-way merge... Auto-merging gcc/tree-vect-slp.cc No changes -- Patch already applied.'\'' +++ bret=0"' ++ +++ declare -p bout bret /tmp/jenkins358339107779721180.sh: line 85: +++: command not found ++ declare -- 'bout=Applying: tree-optimization/107254 - check and support live lanes from permutes Using index info to reconstruct a base tree... M gcc/tree-vect-slp.cc Falling back to patching base and 3-way merge... Auto-merging gcc/tree-vect-slp.cc No changes -- Patch already applied.' ++ declare -- bret=0 ++ ++ 'berr=++++ git_am https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ curl https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ git am -3 --empty=drop % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10831 100 10831 0 0 311k 0 --:--:-- --:--:-- --:--:-- 311k +++ bout='\''Applying: tree-optimization/107254 - check and support live lanes from permutes Using index info to reconstruct a base tree... M gcc/tree-vect-slp.cc Falling back to patching base and 3-way merge... Auto-merging gcc/tree-vect-slp.cc No changes -- Patch already applied.'\'' +++ bret=0' /tmp/jenkins358339107779721180.sh: line 106: ++: command not found ++ ++ declare -p berr /tmp/jenkins358339107779721180.sh: line 107: ++: command not found ++ declare -- 'berr=++++ git_am https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ curl https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/ ++++ git am -3 --empty=drop % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10831 100 10831 0 0 311k 0 --:--:-- --:--:-- --:--:-- 311k +++ bout='\''Applying: tree-optimization/107254 - check and support live lanes from permutes Using index info to reconstruct a base tree... M gcc/tree-vect-slp.cc Falling back to patching base and 3-way merge... Auto-merging gcc/tree-vect-slp.cc No changes -- Patch already applied.'\'' +++ bret=0' ++ git rev-parse HEAD + commitid_after=a75e9bee7c23403d3cc7085a249f230de50c4c3e + '[' 0 = 0 ']' + '[' a75e9bee7c23403d3cc7085a249f230de50c4c3e = a75e9bee7c23403d3cc7085a249f230de50c4c3e ']' + submit_check warning 'Repeat Merge' https://patchwork.plctlab.org/jenkins/job/gcc-patch/1292/consoleText 'Git am fail log' + check_state=warning + patch_state='Repeat Merge' + repo_url=https://patchwork.plctlab.org/jenkins/job/gcc-patch/1292/consoleText + DESCRIPTION='Git am fail log' + curl -X POST -H 'Authorization: Token [*******]' -F state=warning -F target_url=https://patchwork.plctlab.org/jenkins/job/gcc-patch/1292/consoleText -F context=gcc-patch-check -F 'description=Git am fail log' https://patchwork.plctlab.org/api/patches/2629/checks/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 962 100 422 100 540 5626 7200 --:--:-- --:--:-- --:--:-- 13000 {"id":969,"url":"https://patchwork.plctlab.org/api/patches/2629/checks/969/","user":{"id":1,"url":"https://patchwork.plctlab.org/api/users/1/","username":"snail","first_name":"","last_name":"","email":"wangliu@iscas.ac.cn"},"date":"2022-10-14T12:18:22.397872","state":"warning","target_url":"https://patchwork.plctlab.org/jenkins/job/gcc-patch/1292/consoleText","context":"gcc-patch-check","description":"Git am fail log"}+ curl -X PATCH -H 'Authorization: Token [*******]' -F 'state=Repeat Merge' https://patchwork.plctlab.org/api/1.2/patches/2629/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{"id":2629,"url":"https://patchwork.plctlab.org/api/1.2/patches/2629/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/","project":{"id":1,"url":"https://patchwork.plctlab.org/api/1.2/projects/1/","name":"gcc-patch","link_name":"gcc-patch","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":"https://gcc.gnu.org/mailman/listinfo/gcc-patches","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20221014095120.D070313A4A@imap2.suse-dmz.suse.de>","list_archive_url":null,"date":"2022-10-14T09:51:20","name":"tree-optimization/107254 - check and support live lanes from permutes","commit_ref":null,"pull_url":null,"state":"repeat-merge","archived":false,"hash":"831d64a5aae536faa5aae01d45acf331c0219300","submitter":{"id":15,"url":"https://patchwork.plctlab.org/api/1.2/people/15/","name":"Richard Biener","email":"rguenther@suse.de"},"delegate":null,"mbox":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014095120.D070313A4A@imap2.suse-dmz.suse.de/mbox/","series":[{"id":1923,"url":"https://patchwork.plctlab.org/api/1.2/series/1923/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/list/?series=1923","date":"2022-10-14T09:51:20","name":"tree-optimization/107254 - check and support live lanes from permutes","version":1,"mbox":"https://patchwork.plctlab.org/series/1923/mbox/"}],"comments":"https://patchwork.plctlab.org/api/patches/2629/comments/","check":"warning","checks":"https://patchwork.plctlab.org/api/patches/2629/checks/","tags":{},"headers":{"Return-Path":"","Delivered-To":["ouuuleilei@gmail.com","gcc-patches@gcc.gnu.org"],"Received":["by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp90320wrs;\n Fri, 14 Oct 2022 02:52:05 -0700 (PDT)","from sourceware.org (server2.sourceware.org.\n [2620:52:3:1:0:246e:9693:128c])\n by mx.google.com with ESMTPS id\n eb7-20020a0564020d0700b0045d15503bb8si1940495edb.224.2022.10.14.02.52.05\n for \n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 14 Oct 2022 02:52:05 -0700 (PDT)","from server2.sourceware.org (localhost [IPv6:::1])\n\tby sourceware.org (Postfix) with ESMTP id 56B0C38582A0\n\tfor ; Fri, 14 Oct 2022 09:52:04 +0000 (GMT)","from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28])\n by sourceware.org (Postfix) with ESMTPS id 3196B3858C50\n for ; Fri, 14 Oct 2022 09:51:22 +0000 (GMT)","from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de\n [192.168.254.74])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512)\n (No client certificate requested)\n by smtp-out1.suse.de (Postfix) with ESMTPS id E336F219EE\n for ; Fri, 14 Oct 2022 09:51:20 +0000 (UTC)","from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de\n [192.168.254.74])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512)\n (No client certificate requested)\n by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D070313A4A\n for ; Fri, 14 Oct 2022 09:51:20 +0000 (UTC)","from dovecot-director2.suse.de ([192.168.254.65])\n by imap2.suse-dmz.suse.de with ESMTPSA id fLjAMRgxSWOiLgAAMHmgww\n (envelope-from )\n for ; Fri, 14 Oct 2022 09:51:20 +0000"],"X-Google-Smtp-Source":"\n AMsMyM5FZz2N3pyx8ZxsjFWPAHqk6kF719HzaiZit0JYbDekHui1ToojiB4ZF0XBMq5oLlfbBfyE","X-Received":"by 2002:a17:906:5587:b0:78d:b6b6:7872 with SMTP id\n y7-20020a170906558700b0078db6b67872mr2927827ejp.72.1665741125569;\n Fri, 14 Oct 2022 02:52:05 -0700 (PDT)","ARC-Seal":"i=1; a=rsa-sha256; t=1665741125; cv=none;\n d=google.com; s=arc-20160816;\n b=H3WM9gnYeFfdf0kyD4PVA17bBacvOYj1bcr6IlTfLIaBeAmIiwvAhvZQL3uJZpvKVX\n 5jqtLRl3tg0ZPvIEI4QhR3CR/GpHheqzCfBGDiywp5ChN4+IOMaRqJ6Klt2JjCqbqx/n\n cUdh1hkyoIvk1XmBhkm8rLJbYf+vvYAWHLtWrVYlhE8J0Q3jzFTsk3oTuUdQe4eyL1Mr\n rQ42KJ4GQXpI058ro9o6B/RvuYdvz0QcYthS/+GXrI9AS4pZ9XpCLnvd6sHYnX3zoeFu\n WwCYzHdorYuLW0OLbfgNym+Cx+SlL3/RDEGgFq+xgHxxxDTc0yblHdcitwx/v9qAXNsT\n qjPQ==","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20160816;\n h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post\n :list-archive:list-unsubscribe:list-id:precedence:message-id\n :mime-version:subject:to:date:dmarc-filter:delivered-to\n :dkim-signature:dkim-filter;\n bh=BWogg2MFSQ0jzz79UQPrDIvQxlPq9VeeM+cleioGQe0=;\n b=perrIO4IcszuSYyWfFB0MGGvtYLEbW6Y8bR5jcCKTpdaO9LVEGw4zPZuIiWC7QyqlS\n +YZ9nOcBPtU60Tqney0vWtg1JVPUMdBy0zGxtWHcUqdtjJ1qJSNbdkGHPCTP2/TJvPTR\n KazkTX+svJp03Th5JKmm2vh9HZUa3aZXzTkdh2CwI5fAS3L1auE/naoULLHRVsFpDGEo\n VBFT5dwvhgtmaEz1RXaWJgjgYWNfDFkisNEyujfwf1EIbY0k0B9VQ7wJZsdjxTt8jplG\n 39yVWGiwljG6fSMUQWjzrgvVgjoyIXXA7NLgvBxdVyslgtDFh62u7nh8Z5yZu0hE0rvu\n jHMA==","ARC-Authentication-Results":"i=1; mx.google.com;\n dkim=pass header.i=@gcc.gnu.org header.s=default header.b=eA2LHcdl;\n spf=pass (google.com: domain of\n gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates\n 2620:52:3:1:0:246e:9693:128c as permitted sender)\n smtp.mailfrom=\"gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org\";\n dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org","Received-SPF":"pass (google.com: domain of\n gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates\n 2620:52:3:1:0:246e:9693:128c as permitted sender)\n client-ip=2620:52:3:1:0:246e:9693:128c;","Authentication-Results":"mx.google.com;\n dkim=pass header.i=@gcc.gnu.org header.s=default header.b=eA2LHcdl;\n spf=pass (google.com: domain of\n gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates\n 2620:52:3:1:0:246e:9693:128c as permitted sender)\n smtp.mailfrom=\"gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org\";\n dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org","DKIM-Filter":"OpenDKIM Filter v2.11.0 sourceware.org 56B0C38582A0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org;\n\ts=default; t=1665741124;\n\tbh=BWogg2MFSQ0jzz79UQPrDIvQxlPq9VeeM+cleioGQe0=;\n\th=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\t List-Help:List-Subscribe:From:Reply-To:From;\n\tb=eA2LHcdlrkhH95k0yHM6mCv5WdKpeqszop/poewF/B0ny8noloynvexHiYKN554b7\n\t TXMAfucAqceQ/WQRT1s7IeiT96ud2GLlcTV4Ls1YO6jiLygZHEr0a1jePsvOxYn1U2\n\t 12WoMkpsbMzzMp9HyyfRYottiHW/M/86m9h75bvs=","X-Original-To":"gcc-patches@gcc.gnu.org","DMARC-Filter":"OpenDMARC Filter v1.4.1 sourceware.org 3196B3858C50","Date":"Fri, 14 Oct 2022 11:51:20 +0200 (CEST)","To":"gcc-patches@gcc.gnu.org","Subject":"[PATCH] tree-optimization/107254 - check and support live lanes from\n permutes","MIME-Version":"1.0","Content-Type":"text/plain; charset=US-ASCII","Message-Id":"<20221014095120.D070313A4A@imap2.suse-dmz.suse.de>","X-Spam-Status":"No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,\n DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE,\n SPF_PASS,\n TXREP autolearn=ham autolearn_force=no version=3.4.6","X-Spam-Checker-Version":"SpamAssassin 3.4.6 (2021-04-09) on\n server2.sourceware.org","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Gcc-patches mailing list ","List-Unsubscribe":",\n ","List-Archive":"","List-Post":"","List-Help":"","List-Subscribe":",\n ","From":"Richard Biener via Gcc-patches ","Reply-To":"Richard Biener ","Errors-To":"gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org","Sender":"\"Gcc-patches\" ","X-getmail-retrieved-from-mailbox":"=?utf-8?q?INBOX?=","X-GMAIL-THRID":"=?utf-8?q?1746656166520501186?=","X-GMAIL-MSGID":"=?utf-8?q?1746656166520501186?="},"content":"The following fixes an omission from adding SLP permute nodes which\nis live lanes originating from those. We have to check that we\ncan extract the lane and have to actually code generate them.\n\nBootstrapped on x86_64-unknown-linux-gnu, testing in progress.\n\n\tPR tree-optimization/107254\n\t* tree-vect-slp.cc (vect_slp_analyze_node_operations_1):\n\tFor permutes also analyze live lanes.\n\t(vect_schedule_slp_node): For permutes also code generate\n\tlive lane extracts.\n\n\t* gfortran.dg/vect/pr107254.f90: New testcase.\n---\n gcc/testsuite/gfortran.dg/vect/pr107254.f90 | 49 +++++++++++++++++++++\n gcc/tree-vect-slp.cc | 33 +++++++++++---\n 2 files changed, 77 insertions(+), 5 deletions(-)\n create mode 100644 gcc/testsuite/gfortran.dg/vect/pr107254.f90","diff":"diff --git a/gcc/testsuite/gfortran.dg/vect/pr107254.f90 b/gcc/testsuite/gfortran.dg/vect/pr107254.f90\nnew file mode 100644\nindex 00000000000..85bcb5f3fa2\n--- /dev/null\n+++ b/gcc/testsuite/gfortran.dg/vect/pr107254.f90\n@@ -0,0 +1,49 @@\n+! { dg-do run }\n+\n+subroutine dlartg( f, g, s, r )\n+ implicit none\n+ double precision :: f, g, r, s\n+ double precision :: d, p\n+\n+ d = sqrt( f*f + g*g )\n+ p = 1.d0 / d\n+ if( abs( f ) > 1 ) then\n+ s = g*sign( p, f )\n+ r = sign( d, f )\n+ else\n+ s = g*sign( p, f )\n+ r = sign( d, f )\n+ end if\n+end subroutine\n+\n+subroutine dhgeqz( n, h, t )\n+ implicit none\n+ integer n\n+ double precision h( n, * ), t( n, * )\n+ integer jc\n+ double precision c, s, temp, temp2, tempr\n+ temp2 = 10d0\n+ call dlartg( 10d0, temp2, s, tempr )\n+ c = 0.9d0\n+ s = 1.d0\n+ do jc = 1, n\n+ temp = c*h( 1, jc ) + s*h( 2, jc )\n+ h( 2, jc ) = -s*h( 1, jc ) + c*h( 2, jc )\n+ h( 1, jc ) = temp\n+ temp2 = c*t( 1, jc ) + s*t( 2, jc )\n+ t( 2, jc ) = -s*t( 1, jc ) + c*t( 2, jc )\n+ t( 1, jc ) = temp2\n+ enddo\n+end subroutine dhgeqz\n+\n+program test\n+ implicit none\n+ double precision h(2,2), t(2,2) \n+ h = 0\n+ t(1,1) = 1\n+ t(2,1) = 0\n+ t(1,2) = 0\n+ t(2,2) = 0\n+ call dhgeqz( 2, h, t )\n+ if (t(2,2).ne.0) STOP 1\n+end program test\ndiff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc\nindex cea5d50da92..e54414f6bef 100644\n--- a/gcc/tree-vect-slp.cc\n+++ b/gcc/tree-vect-slp.cc\n@@ -5933,7 +5933,23 @@ vect_slp_analyze_node_operations_1 (vec_info *vinfo, slp_tree node,\n \n /* Handle purely internal nodes. */\n if (SLP_TREE_CODE (node) == VEC_PERM_EXPR)\n- return vectorizable_slp_permutation (vinfo, NULL, node, cost_vec);\n+ {\n+ if (!vectorizable_slp_permutation (vinfo, NULL, node, cost_vec))\n+\treturn false;\n+\n+ stmt_vec_info slp_stmt_info;\n+ unsigned int i;\n+ FOR_EACH_VEC_ELT (SLP_TREE_SCALAR_STMTS (node), i, slp_stmt_info)\n+\t{\n+\t if (STMT_VINFO_LIVE_P (slp_stmt_info)\n+\t && !vectorizable_live_operation (vinfo,\n+\t\t\t\t\t slp_stmt_info, NULL, node,\n+\t\t\t\t\t node_instance, i,\n+\t\t\t\t\t false, cost_vec))\n+\t return false;\n+\t}\n+ return true;\n+ }\n \n gcc_assert (STMT_SLP_TYPE (stmt_info) != loop_vect);\n \n@@ -8900,8 +8916,6 @@ vect_schedule_slp_node (vec_info *vinfo,\n \t}\n }\n \n- bool done_p = false;\n-\n /* Handle purely internal nodes. */\n if (SLP_TREE_CODE (node) == VEC_PERM_EXPR)\n {\n@@ -8912,9 +8926,18 @@ vect_schedule_slp_node (vec_info *vinfo,\n \t but open-code it here (partly). */\n bool done = vectorizable_slp_permutation (vinfo, &si, node, NULL);\n gcc_assert (done);\n- done_p = true;\n+ stmt_vec_info slp_stmt_info;\n+ unsigned int i;\n+ FOR_EACH_VEC_ELT (SLP_TREE_SCALAR_STMTS (node), i, slp_stmt_info)\n+\tif (STMT_VINFO_LIVE_P (s 100 12754 100 12602 100 152 155k 1924 --:--:-- --:--:-- --:--:-- 157k lp_stmt_info))\n+\t {\n+\t done = vectorizable_live_operation (vinfo,\n+\t\t\t\t\t\tslp_stmt_info, &si, node,\n+\t\t\t\t\t\tinstance, i, true, NULL);\n+\t gcc_assert (done);\n+\t }\n }\n- if (!done_p)\n+ else\n vect_transform_stmt (vinfo, stmt_info, &si, node, instance);\n }\n \n","prefixes":[]}+ exit 1 Build step 'Execute shell' marked build as failure Finished: FAILURE