Re: [PATCH] regrename: Skip renaming if instruction is noop move.

2021-12-02 Thread Jeff Law via Gcc-patches
On 11/18/2021 11:23 PM, Jojo R wrote: — Jojo 在 2021年11月19日 +0800 AM12:13,Jeff Law ,写道: On 11/16/2021 7:20 PM, Jojo R via Gcc-patches wrote: — Jojo 在 2021年11月16日 +0800 PM8:12,Richard Biener ,写道: On Tue, Nov 16, 2021 at 12:45 PM Jojo R via Gcc-patche

Re: [PATCH] regrename: Skip renaming if instruction is noop move.

2021-11-18 Thread Jojo R via Gcc-patches
— Jojo 在 2021年11月19日 +0800 AM12:13,Jeff Law ,写道: > > > On 11/16/2021 7:20 PM, Jojo R via Gcc-patches wrote: > > — Jojo > > 在 2021年11月16日 +0800 PM8:12,Richard Biener ,写道: > > > On Tue, Nov 16, 2021 at 12:45 PM Jojo R via Gcc-patches > > > wrote: > > > > Skip renaming if instruction is noop move,

Re: [PATCH] regrename: Skip renaming if instruction is noop move.

2021-11-18 Thread Jeff Law via Gcc-patches
On 11/16/2021 7:20 PM, Jojo R via Gcc-patches wrote: — Jojo 在 2021年11月16日 +0800 PM8:12,Richard Biener ,写道: On Tue, Nov 16, 2021 at 12:45 PM Jojo R via Gcc-patches wrote: Skip renaming if instruction is noop move, and it will been removed for performance. Is there any (target specific) test

Re: [PATCH] regrename: Skip renaming if instruction is noop move.

2021-11-16 Thread Jojo R via Gcc-patches
— Jojo 在 2021年11月16日 +0800 PM8:12,Richard Biener ,写道: > On Tue, Nov 16, 2021 at 12:45 PM Jojo R via Gcc-patches > wrote: > > > > Skip renaming if instruction is noop move, and it will > > been removed for performance. > > Is there any (target specific) testcase you can add? Such commits are > pr

Re: [PATCH] regrename: Skip renaming if instruction is noop move.

2021-11-16 Thread Richard Biener via Gcc-patches
On Tue, Nov 16, 2021 at 12:45 PM Jojo R via Gcc-patches wrote: > > Skip renaming if instruction is noop move, and it will > been removed for performance. Is there any (target specific) testcase you can add? Such commits are problematic when later bisected to since the intent isn't clear. > gcc/

[PATCH] regrename: Skip renaming if instruction is noop move.

2021-11-16 Thread Jojo R via Gcc-patches
Skip renaming if instruction is noop move, and it will been removed for performance. gcc/ * regrename.c (find_rename_reg): Return satisfied regno if instruction is noop move. --- gcc/regrename.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/regrename.c b/gcc/regrename