diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-26 03:05:40 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-26 03:05:40 +0000 |
commit | a4589b78d83eb7b27997a5fe5afd8eaab902ec2e (patch) | |
tree | 528ae78f7e10b37399d1b8ddea63ecb542811b27 /gcc/combine.c | |
parent | 982c684c016e0427146888f7c01b59f8dc3aeb26 (diff) | |
download | gcc-a4589b78d83eb7b27997a5fe5afd8eaab902ec2e.tar.gz |
* combine.c (combine_simplify_rtx, simplfy_comparison): Use CC0_P.
* cse.c (invalidate_skipped_set): Likewise.
* integrate.c (subst_constants): Likewise.
* jump.c (reversed_comparison_code_parts): Likewise.
* loop.c (canonicalize_condition): Likewise.
* simplify-rtx.c (simplify_relational_operation): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63446 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 126f90040df..fe5cce50f24 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -4494,10 +4494,7 @@ combine_simplify_rtx (x, op0_mode, last, in_dest) with it. */ if (GET_CODE (XEXP (x, 0)) == COMPARE || (GET_MODE_CLASS (GET_MODE (XEXP (x, 0))) != MODE_CC -#ifdef HAVE_cc0 - && XEXP (x, 0) != cc0_rtx -#endif - )) + && ! CC0_P (XEXP (x, 0)))) { rtx op0 = XEXP (x, 0); rtx op1 = XEXP (x, 1); @@ -11010,9 +11007,7 @@ simplify_comparison (code, pop0, pop1) /* We can't do anything if OP0 is a condition code value, rather than an actual data value. */ if (const_op != 0 -#ifdef HAVE_cc0 - || XEXP (op0, 0) == cc0_rtx -#endif + || CC0_P (XEXP (op0, 0)) || GET_MODE_CLASS (GET_MODE (XEXP (op0, 0))) == MODE_CC) break; |