diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-21 07:57:42 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-21 07:57:42 -0400 |
commit | 0e32506c6bec44d0259cc49277ffd9268508351e (patch) | |
tree | 69820fb30cf9938900fe96d4bba44f45f4f26c55 /gcc | |
parent | 8aa2a305845a140134be122c618c5c94308b8326 (diff) | |
download | gcc-0e32506c6bec44d0259cc49277ffd9268508351e.zip gcc-0e32506c6bec44d0259cc49277ffd9268508351e.tar.gz gcc-0e32506c6bec44d0259cc49277ffd9268508351e.tar.bz2 |
(simplify_logical, case AND): If still an AND, get new values for op0
and op1.
From-SVN: r9424
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/combine.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index f71db78..9d355cb 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -4503,6 +4503,10 @@ simplify_logical (x, last) if (GET_CODE (x) != AND) return x; + + if (GET_RTX_CLASS (GET_CODE (x)) == 'c' + || GET_RTX_CLASS (GET_CODE (x)) == '2') + op0 = XEXP (x, 0), op1 = XEXP (x, 1); } /* Convert (A | B) & A to A. */ |