From patchwork Tue Nov 1 11:49:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Rosen X-Patchwork-Id: 4885 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 4C03D23DEE for ; Tue, 1 Nov 2011 11:49:14 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 29D9FA18421 for ; Tue, 1 Nov 2011 11:49:14 +0000 (UTC) Received: by faan26 with SMTP id n26so9819783faa.11 for ; Tue, 01 Nov 2011 04:49:14 -0700 (PDT) Received: by 10.223.15.10 with SMTP id i10mr198841faa.17.1320148153962; Tue, 01 Nov 2011 04:49:13 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.14.103 with SMTP id o7cs6140lac; Tue, 1 Nov 2011 04:49:13 -0700 (PDT) Received: by 10.224.178.19 with SMTP id bk19mr14468624qab.72.1320148151081; Tue, 01 Nov 2011 04:49:11 -0700 (PDT) Received: from mail-qw0-f50.google.com (mail-qw0-f50.google.com [209.85.216.50]) by mx.google.com with ESMTPS id ge5si11757736qab.13.2011.11.01.04.49.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Nov 2011 04:49:11 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.216.50 is neither permitted nor denied by best guess record for domain of ira.rosen@linaro.org) client-ip=209.85.216.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.216.50 is neither permitted nor denied by best guess record for domain of ira.rosen@linaro.org) smtp.mail=ira.rosen@linaro.org Received: by qan41 with SMTP id 41so347305qan.37 for ; Tue, 01 Nov 2011 04:49:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.74.41 with SMTP id q9mr3800958obv.28.1320148150322; Tue, 01 Nov 2011 04:49:10 -0700 (PDT) Received: by 10.182.183.102 with HTTP; Tue, 1 Nov 2011 04:49:10 -0700 (PDT) Date: Tue, 1 Nov 2011 13:49:10 +0200 Message-ID: Subject: [patch] Update gcc.dg/vect/no-scevccp-outer-6-global.c From: Ira Rosen To: gcc-patches@gcc.gnu.org Cc: Patch Tracking Hi, With the recent patches for __restrict__, the outer loop in gcc.dg/vect/no-scevccp-outer-6-global.c is now vectorizable, because it doesn't require loop versioning for alias anymore. The comment in the test is probably obsolete, and checking for widen-mult doesn't make much sense, because there is no multiplication here at all. Tested on powerpc64-suse-linux. Committed. Ira testsuite/ChangeLog: * gcc.dg/vect/no-scevccp-outer-6-global.c: Expect to vectorize the outer loop. Remove comment. Don't check for widen-mult. +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */ Index: testsuite/gcc.dg/vect/no-scevccp-outer-6-global.c =================================================================== --- testsuite/gcc.dg/vect/no-scevccp-outer-6-global.c (revision 180733) +++ testsuite/gcc.dg/vect/no-scevccp-outer-6-global.c (working copy) @@ -52,7 +52,5 @@ return 0; } -/* "Too many BBs in loop" */ -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1 "vect" { xfail *-*-* } } } */ -/* { dg-final { scan-tree-dump-times "vect_recog_widen_mult_pattern: detected" 1 "vect" { xfail *-*-* } } } */