aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-05-26 18:48:18 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-05-26 18:48:18 -0400
commitb7a775b20bca07cac697f0b99fb85864ee515cef (patch)
tree9211f6345ee5e33b5d06ad8aab50206d6600f0ae /gcc
parente53076d69077ab1abff2aa6340a05d2768d07fe0 (diff)
downloadgcc-b7a775b20bca07cac697f0b99fb85864ee515cef.zip
gcc-b7a775b20bca07cac697f0b99fb85864ee515cef.tar.gz
gcc-b7a775b20bca07cac697f0b99fb85864ee515cef.tar.bz2
(simplify_comparison): Call CANONICALIZE_COMPARISON, if defined.
From-SVN: r7353
Diffstat (limited to 'gcc')
-rw-r--r--gcc/combine.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index ce4f493..861e40c 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -9449,6 +9449,12 @@ simplify_comparison (code, pop0, pop1)
}
}
+#ifdef CANONICALIZE_COMPARISON
+ /* If this machine only supports a subset of valid comparisons, see if we
+ can convert an unsupported one into a supported one. */
+ CANONICALIZE_COMPARISON (code, op0, op1);
+#endif
+
*pop0 = op0;
*pop1 = op1;