From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by sourceware.org (Postfix) with ESMTPS id 881373858C78 for ; Mon, 18 Sep 2023 07:16:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 881373858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-x141.google.com with SMTP id 2adb3069b0e04-502b0d23f28so6631215e87.2 for ; Mon, 18 Sep 2023 00:16:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695021402; x=1695626202; darn=gcc.gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=BmyFZ2ezICtti8rq05Ssz6w2NgsQrQb8f6MMzZvJJHE=; b=maXJ8WLAWnZu93boFxb5yPMPIoGhAIld9sTb+7iNnQbPcEbJ6HYJ0itB+Gqed5MTCX GusVDfyNf/nM9ci4/h3lo3aOF4NfnxIayMMiVqtGzA6AVbQuWeZ89haoXvkv8EqkC2yY RLU0G+ovzbcAX6enibkDL4zv1bnnnylrGh9VLPfxwP9wpo++SqMCBtyYOPrSISQUtUun za1xR3WNko8aNJmj2SdrwYDWlZ/mGC2Xw8GkzpF37j0iSD4bu2jEElnIbWYSipY1TlyI FW5GEsCYJFSf5yoDO5asGiL9drlKgK6Anpto+m4ZG9blYwPjHPeHHm7bP6nH5OdWaz6N INRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695021402; x=1695626202; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BmyFZ2ezICtti8rq05Ssz6w2NgsQrQb8f6MMzZvJJHE=; b=gUNBzJNS+X9FEV++4MzWguhL5NAaYKl5H+FN4bS0+U2Uq8Lwj7cKKoBjdrITLZfeHH 6QjZcSedCzfZp22NhmzhndHgmJEdQp9E9I5DcTSKGocp0vQltUPvEGl03fOy3SJBCj26 RZLClFAnsGyPqapxSCaoHKBdooDVz4yveX9ggR56f3zXcrNNFpGLxgPR7qQ9rJ5eE2KM uMJIGr4i9fn5scweioebE7ECvYX+ZuOYOTmgtTez36leZkF4APj4Im3MG5dSAwDqgqMg aj/JX7YQE+dy2B1DRsZcbY5N4mn+lTg+dv1toQPRjB4QfTbsDOYTtzdwPRr6g+dH3GgC +nsw== X-Gm-Message-State: AOJu0YzOhc7KFJYXt08TcIYzhcvpBNLODCEE39S7JUoIVh0E6TnFfTai Yd4b0ym8jIPwBkv2Lh44duSv80LhuqJ4+sRF47DIn5BDO1xEJQ== X-Google-Smtp-Source: AGHT+IG17hCMpjCzAkpvfBM+/keJaOZvJ7kNlChH/yUQih34aMFp2xC2eQ2Y3pJ3bXMe7//U3SNVTLSPpGZ34OVF7do= X-Received: by 2002:a05:6512:4ca:b0:502:d5b0:436e with SMTP id w10-20020a05651204ca00b00502d5b0436emr5683069lfq.62.1695021402086; Mon, 18 Sep 2023 00:16:42 -0700 (PDT) MIME-Version: 1.0 From: Hanke Zhang Date: Mon, 18 Sep 2023 15:16:31 +0800 Message-ID: Subject: How to enable DCE during late_ipa_passes? To: gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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: Hi, I am currently developing a new pass in the late_ipa_passes phase, located behind the pass_ipa_pta and in front of the pass_omp_simd_clone. I now hope that after the pass I developed, the code can be vectorized, that is, the code that can be vectorized during the pass_omp_simd_clone. But not yet, I'm guessing that maybe it's because I added some dead code during the pass I developed, so I want to be followed by a DCE pass right after my pass, hoping that this will allow pass_omp_simd_clone to vectorize the code after my pass. But I've found that adding NEXT_PASS(pass_dce) directly after my pass results in a runtime error, so I would like to ask if there is any good way to get pass_dce to work in the late_ipa_passes phase? Hanke Zhang.