From patchwork Fri May 26 07:14:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 767266 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wYy6z03FSz9s89 for ; Fri, 26 May 2017 17:14:17 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="PmoLOIl6"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=RswoMLjrbp2he3NU8H98Ip1S1wkVMcndq4apk7A3mbwuJAdpceiPN EAaeJYSkVb8nIbx6dcDaJfGdJC97R/cjqTEWV3TxeabUmpfMX7mBnL2HmNeG1DO8 KnxhzW1hBVYse7xyw39fyA7cRnm+A/OQWTnPI6Uez3A3hbqQ5Uihho= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=X32x8eMy2uXtsmWf2uKBWFkfpIE=; b=PmoLOIl6LthqYv+kLnTz CvzWDoCoCzfayVfHUxISgvrZDAGcM9fcvT/7Qi/eHxWQvppsp46Opyn9utzOGIKo VMPtV5mOsMXzVzRfIcolgrAx3Ko02fGmA7h+tSiT4XghRj4ojQtJZ1MwwP2BXS5f zArSwIjYUESKxbXad1ZS3lw= Received: (qmail 118606 invoked by alias); 26 May 2017 07:14:06 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 117581 invoked by uid 89); 26 May 2017 07:14:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 26 May 2017 07:14:03 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 88666AC03 for ; Fri, 26 May 2017 07:14:04 +0000 (UTC) Date: Fri, 26 May 2017 09:14:04 +0200 (CEST) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Make sure to simplify CFG after OMP SIMD vectorization Message-ID: User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 I noticed we keep the VF != 0 check in the CFG for quite some passes when looking at PR80844 so the following fixes that. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2017-05-26 Richard Biener PR tree-optimization/80844 * tree-vectorizer.c (adjust_simduid_builtins): Propagate results. Index: gcc/tree-vectorizer.c =================================================================== --- gcc/tree-vectorizer.c (revision 248409) +++ gcc/tree-vectorizer.c (working copy) @@ -229,8 +229,11 @@ adjust_simduid_builtins (hash_table