get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2222867/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2222867,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2222867/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260413222006.3862501-4-andrew.pinski@oss.qualcomm.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260413222006.3862501-4-andrew.pinski@oss.qualcomm.com>",
    "date": "2026-04-13T22:20:03",
    "name": "[GCC17-PATCH,3/6] phiprop: Move the check on vuse before the dominator tests",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "6efbb081f3d853990c006a132462539970ec03ea",
    "submitter": {
        "id": 91428,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/91428/?format=api",
        "name": "Andrew Pinski",
        "email": "andrew.pinski@oss.qualcomm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260413222006.3862501-4-andrew.pinski@oss.qualcomm.com/mbox/",
    "series": [
        {
            "id": 499758,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499758/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=499758",
            "date": "2026-04-13T22:20:03",
            "name": "Improve Phiprop slightly",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499758/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2222867/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2222867/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=UHGX7sZc;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=IFEZ23a9;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=UHGX7sZc;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=IFEZ23a9",
            "sourceware.org; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com",
            "sourceware.org;\n spf=pass smtp.mailfrom=oss.qualcomm.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=205.220.180.131"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fvhgn0g8Wz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 08:20:51 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 199794BA23E2\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 13 Apr 2026 22:20:49 +0000 (GMT)",
            "from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\n by sourceware.org (Postfix) with ESMTPS id E78414BA2E13\n for <gcc-patches@gcc.gnu.org>; Mon, 13 Apr 2026 22:20:16 +0000 (GMT)",
            "from pps.filterd (m0279870.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63DLDF7x395640\n for <gcc-patches@gcc.gnu.org>; Mon, 13 Apr 2026 22:20:16 GMT",
            "from mail-pj1-f69.google.com (mail-pj1-f69.google.com\n [209.85.216.69])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dh870r57q-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <gcc-patches@gcc.gnu.org>; Mon, 13 Apr 2026 22:20:16 +0000 (GMT)",
            "by mail-pj1-f69.google.com with SMTP id\n 98e67ed59e1d1-35da86144daso5833454a91.3\n for <gcc-patches@gcc.gnu.org>; Mon, 13 Apr 2026 15:20:16 -0700 (PDT)",
            "from xeond2.wrightpinski.org ([98.97.32.212])\n by smtp.gmail.com with ESMTPSA id\n 41be03b00d2f7-c79219f55c4sm12129600a12.22.2026.04.13.15.20.13\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 13 Apr 2026 15:20:13 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 199794BA23E2",
            "OpenDKIM Filter v2.11.0 sourceware.org E78414BA2E13"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org E78414BA2E13",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org E78414BA2E13",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776118817; cv=none;\n b=Pu7rRKHk29wujJjFZ3mdAvk/gjnlhtirEzJvTzrvIN8Q19drGnmmS0L70bMpbDmuzTw0e2P2dzIGBvyYCVSNHaXlK7QLbIP3O/GN8KLfHeZe4vsqfJDPY/SRcctsJft1V/oTSfIpSq19JBiPs+nSrPF6tt1XuD+HWbxBWgm2EQg=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776118817; c=relaxed/simple;\n bh=2fbjgVSRwRZEfCBw0FHQosTalbM0ozeD33fF671BptE=;\n h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID:\n MIME-Version;\n b=h0UOAdjTb+ZDaWCrfR3+jzVTGWT6WMYXHBS+RgXe3u6TGTLrO5dXUUxHAqbtQl5W3FoTc08xp8AUcRD3ye0f9w+iDDLIq6LA/DZaGMiWegn0AD7t4jU8jiNO5+zMYUfVvtg32j4zUkjqnBjtJCEBtSe9M2Jv6mN9Gjq8j1m3Hn8=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:date:from:in-reply-to:message-id\n :mime-version:references:subject:to; s=qcppdkim1; bh=JpXsaYwrdgc\n 9RLk4UmHb8PKOu/ntHx1JybOhKWWz+ds=; b=UHGX7sZcD1POqcoxY8MGwrX+zUP\n CjazIQVrWon4k4e/xnUpARyX4Zeoa3K9htp/3DPwkQiW3ekJE32Pv0r0iXzFDPsV\n 3HhczZiVEEc29AOfk4Amliys2KlPpNPVpQ7Pe0nCJDY7dgYGpGUVOWL+iuKy9jO2\n HJYcBKFjx7/sHzEZVHhatxM+TfKSIZdt03Qt+GoGBvI61g13Cq/EWcAqCzhrWiI/\n v8z6AUGtfgDtSQ9zKD8qnBisC0yNqbhaOH5g6o9D4vwErfmD2sVVZKK68NaW7dQ5\n VZ2sQmi5Kw4+jakH4B8OlSTw2wEcbCXSCfABveh+3sNsSG3jncf/VgYRqRA==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1776118815; x=1776723615; darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=JpXsaYwrdgc9RLk4UmHb8PKOu/ntHx1JybOhKWWz+ds=;\n b=IFEZ23a9KkCAMu25z7ubAtslCdq7lZsnHqxjtFCmRcjJsogYLlbew6r8061Dt4hyil\n Q0IeEDzVInEfi8QcQUJZFBO4noX/+BrbqjusR2pO+cZ2E7/PkEj8qzlSKn1wIwwJSeij\n pjBuCUPdJmNvC6uA+NLndXwfeMHZsUAv0oJl9yqV0tDm761viZ4W9mUW0oURNBgTN5Sh\n JVgLeuXGAW2KAcEYOf0uB7+XMhoAI6Lug7/dciqtGDMW57IQdeOh7cTaxVkHoS5SpGca\n mI1wZQodZjjX4yzS7hAaWg4/7k214ioWQ4nAdy0NYDjcUnjc5LWhrfLbzGUpVV4iPA0c\n gbcA=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776118815; x=1776723615;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=JpXsaYwrdgc9RLk4UmHb8PKOu/ntHx1JybOhKWWz+ds=;\n b=SJleCwwtpPWD65RcjVinp1Q1JLJfEVFPPDotgLGsSuZSeRVQV8YrSpOVnr21gwC1wd\n t4Sx6dugYgThtrHzzXV0T8+kUfnXTDbWZ24Rfc4yPhIrXPvZJifCe5b1+nyE0u+ZDWkz\n X7z7zzZ1C/FJCnY9YxPeETK/xIO/HuJPbgB73Y8PW85mREv4d213y6U2huIZYwHabBSu\n 7im/X5wIqFhIOeUmwtYS24FJQXjkcE6Y2u/PAD7Xn7bhICpcZrDiWch+03MBkgamBVxG\n uNlMF069UjwfOn77RTtLkfa82ujkZCzAWLoATzo0BQ0OIjg+LygIL/TXQSTG6Q1ripBb\n J1mw==",
        "X-Gm-Message-State": "AOJu0YyrEWXvi6RX9WvDeynIaGPpyGeZ1D2dCYX/7QHoHzGIckNTilaC\n PWFUXYzanXex7JMraSLOm6djUg5eI6FGq8VpJVftR6VgFsrXNzIbONpHcP1RN3LffO3ubVj7kEo\n 9qqnD+YvS8vY3QV7RpGie9uYnUYaXyAMwf9jQrbIJPpqegfGHHDRdLdQj/6wkwHoCOWrJ",
        "X-Gm-Gg": "AeBDieuWHv55csbdEIaHR89wCYrMNZnwrOqYZc6kCZ8we4gArRT0uFH2BoM6cga7W2c\n S8X2ko871rU4vqiF6sR6R8DjufYDLJeDyUwahzibtkAsW/wQYlfGlDSBkwzLKu0nRdSMypiteiC\n 6j3qaPOhfm5Wx3WiHOxIC3JArnu0SPmW72iUbsQEyXbtz0o9/gbYXu9SQBrigN/1RMnEwsbZJmC\n P6ZOEuhlpSifF0C4jFpePa1dSm2wnqMLFuqPwbwpnGfO1v8dNCTN5K9+utkl3d4XUdq7UhTeqMH\n gQxL+KHSQXvejrO8C6AkfMfBw1n9RS+oVdTJ9oZVrvwxeUF0Up7or3Tz/QJZu4UQWop1xW7Zu8D\n rUFbZKJC1SdvkM8NLligXJvrUJaZZkhH8q4KMTySlRYOjJGGM",
        "X-Received": [
            "by 2002:a17:90b:3e8a:b0:35d:a542:2dbf with SMTP id\n 98e67ed59e1d1-35e428320a8mr14612375a91.20.1776118814866;\n Mon, 13 Apr 2026 15:20:14 -0700 (PDT)",
            "by 2002:a17:90b:3e8a:b0:35d:a542:2dbf with SMTP id\n 98e67ed59e1d1-35e428320a8mr14612346a91.20.1776118814396;\n Mon, 13 Apr 2026 15:20:14 -0700 (PDT)"
        ],
        "From": "Andrew Pinski <andrew.pinski@oss.qualcomm.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "Andrew Pinski <andrew.pinski@oss.qualcomm.com>",
        "Subject": "[GCC17-PATCH 3/6] phiprop: Move the check on vuse before the\n dominator tests",
        "Date": "Mon, 13 Apr 2026 15:20:03 -0700",
        "Message-ID": "<20260413222006.3862501-4-andrew.pinski@oss.qualcomm.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260413222006.3862501-1-andrew.pinski@oss.qualcomm.com>",
        "References": "<20260413222006.3862501-1-andrew.pinski@oss.qualcomm.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Proofpoint-ORIG-GUID": "i5bLAdNfVWxaRBIMZNCIpIsJBKCB-laW",
        "X-Proofpoint-GUID": "i5bLAdNfVWxaRBIMZNCIpIsJBKCB-laW",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDEzMDIxOSBTYWx0ZWRfX/nO2N73O4IL+\n XUrHJEO+KOm9UzXWjbDWmmwruLTbBSFrJE8BxAwtdW838pPWqeqwNngpfPhTUcGaCEgBI5AvEqt\n y29Vrj6pXc9dsQDFmAPEiThcSVET6WLbNZERcIPOQseNeVd36dhQ+Cm/GupCaf6JGOHZJJUQy+w\n eUgWem67GnHdOQXowuZ6wOvfT2VFLNW8Id5rA+5dJ7M2t1JTr86aWog5a125hOU/wXmeO5s6g6e\n nFEaTnB1mTnnw5rvxG44reIGdS0du6Ku7hH5Oy8N2dP/J07MXn7Ev6cP0BtgqodTjXXEXX1a/Vq\n DhiqMnZaa3aE1NfvykPp+gWjGqE9PEtGsML7qPjKVzm6yBW7J0bCK+K53Uqnr1hSkkPM7hnMP8a\n TUTlyUBhxZrOo+NUkF+Ks0Q06w9kZ2d/ul8R+YT5IrPpj67lewe/kpovLX4f6EosjI+DmAqCzb4\n ieVBYzodkWd4KAYS57A==",
        "X-Authority-Analysis": "v=2.4 cv=MK9QXsZl c=1 sm=1 tr=0 ts=69dd6c20 cx=c_pps\n a=vVfyC5vLCtgYJKYeQD43oA==:117 a=i7c1TCcCr6Kt3kgLFmYdbA==:17\n a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8\n a=hqGM_jE5wxSMahJW2VoA:9 a=rl5im9kqc5Lf4LNbBjHf:22",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-13_03,2026-04-13_04,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n impostorscore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0\n clxscore=1015 suspectscore=0 spamscore=0 bulkscore=0 malwarescore=0\n phishscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604070000\n definitions=main-2604130219",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "This again is some small optimization of the order of checks here.\nThe dom tests don't say if the prop can happen any more so putting\nthem after tests that will cause the prop not to happen is a good thing.\n\nBootstrapped and tested on x86_64-linux-gnu.\n\ngcc/ChangeLog:\n\n\t* tree-ssa-phiprop.cc (propagate_with_phi): Move vuse checks\n\tbefore the dominator tests.\n\nSigned-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>\n---\n gcc/tree-ssa-phiprop.cc | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/gcc/tree-ssa-phiprop.cc b/gcc/tree-ssa-phiprop.cc\nindex 6d369b1bd3f..4678892ec17 100644\n--- a/gcc/tree-ssa-phiprop.cc\n+++ b/gcc/tree-ssa-phiprop.cc\n@@ -384,6 +384,10 @@ propagate_with_phi (basic_block bb, gphi *vphi, gphi *phi,\n \t    && !gimple_has_volatile_ops (use_stmt)))\n \tcontinue;\n \n+      tree vuse = gimple_vuse (use_stmt);\n+      if (!can_handle_load (use_stmt, bb, vphi, up_vuse))\n+\tcontinue;\n+\n       bool aggregate = false;\n       if (!is_gimple_reg_type (TREE_TYPE (gimple_assign_lhs (use_stmt))))\n \taggregate = true;\n@@ -411,10 +415,6 @@ propagate_with_phi (basic_block bb, gphi *vphi, gphi *phi,\n \t\t\t\t\t   gimple_bb (use_stmt)->loop_father)))))\n \tdelay = true;\n \n-      tree vuse = gimple_vuse (use_stmt);\n-      if (!can_handle_load (use_stmt, bb, vphi, up_vuse))\n-\tgoto next;\n-\n       /* Found a proper dereference with an aggregate copy.  Just\n          insert aggregate copies on the edges instead.  */\n       if (aggregate)\n",
    "prefixes": [
        "GCC17-PATCH",
        "3/6"
    ]
}