From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id B35CA3858D37 for ; Mon, 10 Oct 2022 21:09:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B35CA3858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665436175; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uoxeki1j/ZU0VlpOmWWwCb07diVTfxrhXrzPrhthG/o=; b=C7nWEOtF0UDiXM1OL3hUxb2f3/wsQsFZ52GiFxKrgdV++nRWVZqLj++N0DFCy60XClc4xm txnoc4dvIEOPUrLG69Jbaych04j7d+QjAVLQD5adoP9pMEvEAeND/HKaV19h/CtUbZile9 v/rYAbDRjR92jMwimTS6pxQdygVfVoQ= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-168-rdkUoCxwOK-PwFJ4Al7CHw-1; Mon, 10 Oct 2022 17:09:31 -0400 X-MC-Unique: rdkUoCxwOK-PwFJ4Al7CHw-1 Received: by mail-qk1-f199.google.com with SMTP id k2-20020a05620a414200b006ceec443c8bso10177284qko.14 for ; Mon, 10 Oct 2022 14:09:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=uoxeki1j/ZU0VlpOmWWwCb07diVTfxrhXrzPrhthG/o=; b=ML2ETPGMAQ9Epb22SHu1GHD+1+hYIDdOr37Xfyh2GQyEODamyY5BC4oXPFRxzDUaDo dS6UzefVdalQc0AahTG4R1nVWKqLF2QcL4YGQ89VsxUrXmp+ptHI2wdodRaTc/GBJA9o zSFW9HA1buqR3e92u2I2HCl3JLah1qpDu8+RVNuZ5JpRlgxSFjfh7r6AHy5W1/bIsK9d 9k0qXk5nmn2BPMLu8j82k95LUBl2ZRrZfS9m/lgSHp+z9bM+oWDnb1QBx95LIZpbQsbm iQ2bNmN2Xi3ugpsDOy45Q9uGiIoe6YfgcqqLk5/3RCm8Jqtw1pCERUBWGlCGnjV8aYGQ LumQ== X-Gm-Message-State: ACrzQf1ixTvgtAHxOfEvy9uRSBKvLEiwVUcn3UlLb/+baZdhZmMwjqIX UIkEBi6NW9IzlGeBtYVEKU84Sx4obkthaduQxg8JauNDJ7DEyhyD8zfyTYKZlPBJYHPWRmoq1Ok dHs0VShCIQwig050eYA== X-Received: by 2002:a05:622a:1cd:b0:399:896e:f916 with SMTP id t13-20020a05622a01cd00b00399896ef916mr6826799qtw.520.1665436171152; Mon, 10 Oct 2022 14:09:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5AMVaE9nLPzdXEoRgbF3Fi0cPExHBIQnfK5sC0FwQ/ETXTPtLNFz+Sf4GcmaNUaWzXWroQPA== X-Received: by 2002:a05:622a:1cd:b0:399:896e:f916 with SMTP id t13-20020a05622a01cd00b00399896ef916mr6826780qtw.520.1665436170883; Mon, 10 Oct 2022 14:09:30 -0700 (PDT) Received: from [192.168.1.101] (130-44-159-43.s15913.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com. [130.44.159.43]) by smtp.gmail.com with ESMTPSA id q30-20020a05620a2a5e00b006ecb3694163sm4272093qkp.95.2022.10.10.14.09.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 14:09:30 -0700 (PDT) Message-ID: Date: Mon, 10 Oct 2022 17:09:29 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH] middle-end IFN_ASSUME support [PR106654] To: Jakub Jelinek , Richard Biener , Jan Hubicka , Aldy Hernandez Cc: gcc-patches@gcc.gnu.org References: From: Jason Merrill In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP 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 10/10/22 04:54, Jakub Jelinek via Gcc-patches wrote: > Hi! > > My earlier patches gimplify the simplest non-side-effects assumptions > into if (cond) ; else __builtin_unreachable (); and throw the rest > on the floor. > The following patch attempts to do something with the rest too. > For -O0, it actually throws even the simplest assumptions on the floor, > we don't expect optimizations and the assumptions are there to allow > optimizations. I'd think we should trap on failed assume at -O0 (i.e. with -funreachable-traps). Jason