From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by sourceware.org (Postfix) with ESMTPS id 8C7C73858C2A for ; Mon, 18 Sep 2023 14:53:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8C7C73858C2A 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-x12e.google.com with SMTP id 2adb3069b0e04-502fdfeb1d9so3584886e87.2 for ; Mon, 18 Sep 2023 07:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695048836; x=1695653636; darn=gcc.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=J92mf082MWKy0vU6ohLFl0k0q66EQUwl5xfEnOpJxtg=; b=KcpISZ+6W8Tcm4FNVXFTvqA78IiGSfuAmGEkxPMRBeVeJG8L0NDTtrdmiW4UlYWoh9 HQA35lJLQure5EkMBJHxlC9IEdMmlk8i0SiHRj7mMjTFqj3DlWg7yxIwHgu+ukoc0C2Q q4h/DoqJ7IkaQoJWQtZ+Um2M9JeRVg6hoKKQklJWjrj7c67X/kOOfrv4DvDADx6Cj52K erEPT374uqqIg49V+usKQ2fkz7jslPRVeUWB3QZPrkk90TtLzbRXCDAXRZ33Z6K6DExM ShdD7xHhSNkVC6y3GgJR1BBF53qgWxxVUfbS3KTWoSZ85by6CWCd/UehIxViLgnWKR2X BssA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695048836; x=1695653636; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J92mf082MWKy0vU6ohLFl0k0q66EQUwl5xfEnOpJxtg=; b=q3ugVv4+dPmTf1YTuiNkktfFBbRWRUqsHFLaJDAs6P5ZJQJxg5z75GQ/iQyfvp2ywh FNUH6gnyTTn5MTaY8DQEJ4VK+JO8qfc4o55i2JgQai6iPiC+uwjcLX+L6tCrUss8ORpU KagZKD/ExjUiolP50z56rBscSHS3S9llfxsIF2icTeIfFsmjKvY3zSXY8uXoHEvRqBCA Qlgrkl/yHYRwe7prWGkAu36AuCScw29VI/+RQ8ZLtX+KuVmho7Pc/tJGLjQ+68rNFh50 +N+fsI0UMtzXL8sVPX6Ywt43OleW4EJgzUKgvnq5LZ8DQSOLGDCV7lcadHin0y1v9Ae3 8tFg== X-Gm-Message-State: AOJu0YxpvyJYHRDC1Lr7znchGQAm418A2XdU/g+Vf+HyRNhKuvG8aJNx HHfL2EVcKhA06UW2hhjW6niw2KotvPEY5pIv7cE= X-Google-Smtp-Source: AGHT+IFDO24LijzfN1ir5sdu3Dzciy77JmEriFb9jbZGkBp8h8aoOqsmXWJRreyrKksucR3t44BTT44LyMpAwn/GcJE= X-Received: by 2002:a05:6512:12cd:b0:4ff:70d2:4512 with SMTP id p13-20020a05651212cd00b004ff70d24512mr8860758lfg.23.1695048835585; Mon, 18 Sep 2023 07:53:55 -0700 (PDT) MIME-Version: 1.0 References: <87o7kxuq9s.fsf@euler.schwinge.homeip.net> <878rajuj3a.fsf@dem-tschwing-1.ger.mentorg.com> <8c55be5d-3a6a-18bd-a054-072ecb28b949@gmail.com> <87il87bku2.fsf@euler.schwinge.homeip.net> In-Reply-To: <87il87bku2.fsf@euler.schwinge.homeip.net> From: Richard Biener Date: Mon, 18 Sep 2023 16:53:43 +0200 Message-ID: Subject: Re: LTO: Get rid of 'lto_mode_identity_table' (was: Machine Mode ICE in RISC-V when LTO) To: Thomas Schwinge Cc: gcc-patches@gcc.gnu.org, Robin Dapp , pan2.li@intel.com, Jakub Jelinek , richard.sandiford@arm.com, kito.cheng@gmail.com, Jeff Law , juzhe.zhong@rivai.ai, yanzhang.wang@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: On Mon, Sep 18, 2023 at 4:46=E2=80=AFPM Thomas Schwinge wrote: > > Hi! > > On 2023-09-15T15:33:59+0200, Robin Dapp wrote: > > is there anything we can do to assist from the riscv side in order to h= elp > > with this? I haven't really been involved with it but was wondering > > what's missing. If I understand correctly Thomas has a major cleanup > > operation in plan > > Not really major, but indeed non-trivial -- but WIP already. ;-) > > > but might not get to it soon. > > Right. > > > The fix he proposed > > helps for the riscv case, however, even without the rework? > > Right, and no harm done for my work. > > > If so, I'd kindly ping Jakub to check if the fix is reasonable. > > I'll push the attached "LTO: Get rid of 'lto_mode_identity_table'" > mid-week, unless any objections raised. OK. Richard. > > Gr=C3=BC=C3=9Fe > Thomas > > > ----------------- > Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 2= 01, 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch= =C3=A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellsc= haft: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955