From patchwork Tue Sep 14 09:26:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Zissulescu Ianculescu X-Patchwork-Id: 44986 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7C5203858424 for ; Tue, 14 Sep 2021 09:26:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C5203858424 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1631611606; bh=Jye9l4I7wBOHrQoBHbaGvHhlCzwzvOF6mpuPxHwFrP4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=MJMhtTmzHX0KELD/S3DHWqZxR0Oet1jU0oyhQdWTR6wRkcZ9MCTMU3jqeM/12ut7d 1HXfEd5itSOVFQ71IemgI/2k1I8qRsT9CydIyxkiaGIUDDGJwlDXvuL8+3EjDDMEGM Pm6hfxKYiKzsCKS47BAj147kYCNBZB2RtZcWbYGM= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 996073858402 for ; Tue, 14 Sep 2021 09:26:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 996073858402 Received: by mail-wm1-x335.google.com with SMTP id 196-20020a1c04cd000000b002fa489ffe1fso1488267wme.4 for ; Tue, 14 Sep 2021 02:26:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Jye9l4I7wBOHrQoBHbaGvHhlCzwzvOF6mpuPxHwFrP4=; b=sZY3b5VzGYqepJ/4lNvl3zuXQpEUUETEmvEKfZZHZ9ZDNU+DSRgu1CrI0Se16PZqbO nBYBh+VRVMFEom6ivbwMcCLQO+GMatioELmEn9g1eJfs7QfH+0gf8WCDXbvXaiHGsjrV Sj+LIhkME/XxqV35bUaWTTnVxgXpdyzJVnsy3gxiZnBI1JomA0/Rnk9OUFOZAjZClgz0 JUPEF8RcgfYezqnJ7AprS9xOLL/Ehfv+Es74I6b7F85i1ONFTa8TCq2xC4a1ys6rv8De 5yJsQ/ocWLFH75NyjqYXHiYnblGlXTvSFAw0ZYT9vqQFhwgiZMyILE0sVzSFRk/pm5Rf ahEA== X-Gm-Message-State: AOAM531VdyPHYwuIEbNji5LLRNUs9fgl+6/fFm3zRje9tH791MLEV79L 1bo7HwdmWZz4Rx2I/uZqSqJfz6wnK9U= X-Google-Smtp-Source: ABdhPJyegzNNr5T9LrFbJFhCwvy2qkkR9dGB2QkF8Z3ZOqNA6ySN+jQOLmsMfePJIoSOnOWRZEQsyg== X-Received: by 2002:a1c:7c0f:: with SMTP id x15mr1007447wmc.149.1631611575515; Tue, 14 Sep 2021 02:26:15 -0700 (PDT) Received: from localhost.localdomain ([193.187.151.25]) by smtp.gmail.com with ESMTPSA id 129sm569550wmz.26.2021.09.14.02.26.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 02:26:15 -0700 (PDT) X-Google-Original-From: Claudiu Zissulescu To: gcc-patches@gcc.gnu.org Subject: [committed] arc: Update ZOL pattern. Date: Tue, 14 Sep 2021 12:26:09 +0300 Message-Id: <20210914092609.101068-1-claziss@synopsys.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on 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: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Claudiu Zissulescu via Gcc-patches From: Claudiu Zissulescu Ianculescu Reply-To: Claudiu Zissulescu Cc: fbedard@synopsys.com, abrodkin@synopsys.com Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" The ZOL pattern is missing modes which may lead to errors during var_tracking. Add them. gcc/ xxxx-xx-xx Claudiu Zissulescu * config/arc/arc.md (doloop_end): Add missing mode. (loop_end): Likewise. Signed-off-by: Claudiu Zissulescu --- gcc/config/arc/arc.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md index 90ba85e274e..4919d275820 100644 --- a/gcc/config/arc/arc.md +++ b/gcc/config/arc/arc.md @@ -4966,8 +4966,8 @@ (define_expand "doloop_end" (const_int 1)) (label_ref (match_operand 1 "" "")) (pc))) - (set (match_dup 0) (plus (match_dup 0) (const_int -1))) - (unspec [(const_int 0)] UNSPEC_ARC_LP) + (set (match_dup 0) (plus:SI (match_dup 0) (const_int -1))) + (unspec:SI [(const_int 0)] UNSPEC_ARC_LP) (clobber (match_dup 2))])] "" { @@ -4996,8 +4996,8 @@ (define_insn_and_split "loop_end" (const_int 1)) (label_ref (match_operand 1 "" "")) (pc))) - (set (match_dup 0) (plus (match_dup 0) (const_int -1))) - (unspec [(const_int 0)] UNSPEC_ARC_LP) + (set (match_dup 0) (plus:SI (match_dup 0) (const_int -1))) + (unspec:SI [(const_int 0)] UNSPEC_ARC_LP) (clobber (match_scratch:SI 2 "=X,&r"))] "" "@