Re: [EXTERNAL] Re: [PATCH] PR tree-optimization/102232 Adding a missing pattern to match.pd

2021-11-22 Thread Navid Rahimi via Gcc-patches
Thanks Jeff for this too. Best wishes, Navid. From: Jeff Law Sent: Monday, November 22, 2021 19:09 To: Richard Biener; Navid Rahimi Cc: gcc-patches@gcc.gnu.org Subject: Re: [EXTERNAL] Re: [PATCH] PR tree-optimization/102232 Adding a missing pattern to

Re: [EXTERNAL] Re: [PATCH] PR tree-optimization/102232 Adding a missing pattern to match.pd

2021-11-22 Thread Jeff Law via Gcc-patches
On 11/10/2021 1:35 AM, Richard Biener via Gcc-patches wrote: On Tue, Nov 9, 2021 at 5:25 PM Navid Rahimi wrote: Hi Richard, Thank you so much for your detailed feedback. I am attaching another version of the patch which does include all the changes you mentioned. Bellow you can see my res

Re: [EXTERNAL] Re: [PATCH] PR tree-optimization/102232 Adding a missing pattern to match.pd

2021-11-10 Thread Richard Biener via Gcc-patches
gt; Then you have to have at least -O1 to have it optimized. Granted, I am not > doing that in the testcase. In the new patch I am changing it to -O. Let me > know if you have any suggestions. -O is fine, generally at -O0 we shouldn't expect such transforms to happen (but they still d

Re: [EXTERNAL] Re: [PATCH] PR tree-optimization/102232 Adding a missing pattern to match.pd

2021-11-09 Thread Navid Rahimi via Gcc-patches
a; Then you have to have at least -O1 to have it optimized. Granted, I am not doing that in the testcase. In the new patch I am changing it to -O. Let me know if you have any suggestions. Best wishes, Navid. ________________ From: Richard Biener Sent: Tuesday, November

Re: [PATCH] PR tree-optimization/102232 Adding a missing pattern to match.pd

2021-11-09 Thread Richard Biener via Gcc-patches
On Tue, Nov 9, 2021 at 5:12 AM Navid Rahimi via Gcc-patches wrote: > > Hi GCC community, > > This patch will add the missed pattern described in bug 102232 [1] to the > match.pd. The testcase will test whether the multiplication and division has > been removed from the code or not. The correctne

Re: [PATCH] PR tree-optimization/102232 Adding a missing pattern to match.pd

2021-11-08 Thread Navid Rahimi via Gcc-patches
Sorry, a last minute update via my editor changed the MIME type to application/octet-stream. You can find the patch with correct MIME (text/x-diff) attached to this email. (Same file and content, fixed MIME). Best wishes, Navid. From: Gcc-patches on b