From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id 0B1BB3857B9C for ; Mon, 5 Feb 2024 19:09:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0B1BB3857B9C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0B1BB3857B9C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::334 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707160192; cv=none; b=Pb4rLhJgsnkiti/mcfAtunjmEPqLvaSP9KotFpiFjYBOYjaFdhMCQWpldiBCK7shZxKkoJiEBboTONep4YjR3RnGuC7AuP1mWqBtrBsBFLYVvMcNNg84NaVWgpl4EzaMDRZyWKSf9drmdMn1fskSoegwRzexCidIam1A+Uf766A= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707160192; c=relaxed/simple; bh=PwcjcC/IzP0lrLoE46YelhkVj2KgCxyaqeODQ8eRP6o=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=nzcfqJsiYmb/LSchjf19ZR6/DqwpN69ZDv3vdjmkoph1jDcQPiOZ5pZT6qike/Sr/5bKyHPtoToYqP8VemRwFz8ImlIKQHnMWOoIPMStMCN2UBbu5Ll1IZAEN68IHFHeBNoge9hvu6aTr+1ehSaZ8qu0rUaqlxTCJozLrbxuHUo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-6e112a5d30cso2264655a34.2 for ; Mon, 05 Feb 2024 11:09:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707160190; x=1707764990; darn=gcc.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Wja7kSOIJ0ftFbZ9J9lpUw1pQjRYxx3Ai0ljuyj4H+w=; b=NKiW11cNs5gQtERIIG8aNzAp3/uUS2UI/RoqDvoxXNNJeLQ7cCGiUCq2JzLpD3ES4q jvXNtjcMqsjF2+U1c+FTSUQp2OuViDruWTKoepohjITiio5UxNoYNBA6l6gLDcHI03Xr OI8ZteyyVLnRN+/h2WRazZZ+/Ure7zSwV53eHk0V0b93/V1SF4hFW2HmwsBVKO3jmqxh DFz5bV3fhz2X7zZmaaGbAA9aBCZiRGvGJ1CJQF/5mnhmVgXQuXNfF1HbDh+3/FaMAoPY S+5kHL5aSwQgoDvGKsFfBZZSa7FcDasg0Sabyu3yw3NzwIdWzqYQ2ZOl+12jve97akN3 7hjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707160190; x=1707764990; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Wja7kSOIJ0ftFbZ9J9lpUw1pQjRYxx3Ai0ljuyj4H+w=; b=Xn0B2iDF82jRgjXodmqFL2Fq81S6B7YSUZWyqq3s0NLb/vjc51YICAPgm66pTZjalh XUxmRJCqufYznRM11lBXyFyKfVilcLIO26uKuBc0vWv7XVsQi+8e5eVfd05YYBxu1fm6 +LUf82LN2/Ww7IxYUdUCzUrz7Hdjp7eMxDda0gjd3+YUAvP60vFSoRQ7Rg3TIHD+cyWS 18QUAaF+rENIpeNeZsmwzN+7epZVY6IXtpgSC6lIwAmtpKAcbHaBo6jbGQI2hcCaDUMX b5MfydWjLPXEtuhsjyQq9j076njbpd8+EN8jHZiYPJ3B8HBtII+Mh/0JPtcgcXPeMKgr 3tHg== X-Gm-Message-State: AOJu0Yz9idU5wAoGGsx9uyRCF50qa/9p8NJQg4+Bawc4bkbfK3F7k2UE 8+AObsgjydDZqdayIqcGy7O3PT7QssIguPXqcvrl+2FiIyb3/o5j X-Google-Smtp-Source: AGHT+IGupZ5wUWiWwxjGVp1s+SflI4tR6UUCFnVdbj9srE9cWF8kcjZSt+B1IhygGNj8qL+wHSjJeg== X-Received: by 2002:a05:6830:4414:b0:6dc:8656:ae45 with SMTP id q20-20020a056830441400b006dc8656ae45mr139464otv.33.1707160190220; Mon, 05 Feb 2024 11:09:50 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU/3oYmVgxpx6r7yZIyC3qqCcPN0MuIxV0SlcaS3ZNAH5BezFIAoa3o1/mwpj+dbhV6RlwDxFxNvD174JzZK3CGCW4/aw9cvUaVq1KjNpvkOHR6lNWTO10MeIHZi/gK8UyD+Gwy1BmZgUvPMV5ONknOca0D Received: from [172.31.0.109] ([136.36.72.243]) by smtp.gmail.com with ESMTPSA id f2-20020a9d5f02000000b006e12b4c06a4sm74970oti.81.2024.02.05.11.09.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Feb 2024 11:09:49 -0800 (PST) Message-ID: Date: Mon, 5 Feb 2024 12:09:48 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] RISC-V: Expand VLMAX scalar move in reduction Content-Language: en-US To: "juzhe.zhong@rivai.ai" , gcc-patches Cc: "kito.cheng" , "Kito.cheng" , Robin Dapp References: <20240202015659.54072-1-juzhe.zhong@rivai.ai> <8d5529d6-df50-4ac2-9bdb-a7525142b956@gmail.com> <778a4509-c387-452f-b682-e0dd9963ac90@gmail.com> <5B8117E9C28EBC42+202402051437529412972@rivai.ai> From: Jeff Law In-Reply-To: <5B8117E9C28EBC42+202402051437529412972@rivai.ai> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2/4/24 23:37, juzhe.zhong@rivai.ai wrote: > I think it just trigger a latent bug that we didn't encounter. > > Hi, Robin. Would you mind give me preprocessed file to reproduce the issue ? > > I suspect it triggers latent bug in VSETVL PASS. So it looks like vsetvl has made a transformation that makes DCE go into a loop. At least that's my first impression after attaching to a hung build. The good news is I was able to trigger it without LTO. I'll send the relevant info separately so as not to spam everyone with the testcase :-) jeff