On 9/16/19 5:07 AM, Richard Biener wrote:
the :c on both code1 and code2 are not necessary since the constant
is always second via canonicalization.
Fine, fixed.
Btw. I've just installed the whole patchset.
Martin
On Wed, 11 Sep 2019, Martin Liška wrote:
> Hi.
>
> Updated version of the patch that drops GENERIC
> support in TREE codes.
+ (bit_ior (code1:c@3 @0 INTEGER_CST@1) (code2:c@4 @0 INTEGER_CST@2))
the :c on both code1 and code2 are not necessary since the constant
is always second via canonicaliz
Hi.
Updated version of the patch that drops GENERIC
support in TREE codes.
Martin
>From 548ff649ae56e2f60ba4b2537d97c5bf085248d5 Mon Sep 17 00:00:00 2001
From: Martin Liska
Date: Fri, 6 Sep 2019 12:59:36 +0200
Subject: [PATCH 5/5] Rewrite second part of or_comparisons_1 into match.pd.
ate: Fri, 6 Sep 2019 12:59:36 +0200
Subject: [PATCH 5/5] Rewrite second part of or_comparisons_1 into match.pd.
gcc/ChangeLog:
2019-09-09 Martin Liska
* gimple-fold.c (or_comparisons_1): Remove rules moved
to ...
* match.pd: ... here.
---
gcc/gimple-fol
ect: [PATCH 5/5] Rewrite second part of or_comparisons_1 into match.pd.
gcc/ChangeLog:
2019-09-09 Martin Liska
* gimple-fold.c (or_comparisons_1): Remove rules moved
to ...
* match.pd: ... here.
---
gcc/gimple-fold.c | 45 -
gcc/match.pd |