Commit b0c38416 by Richard Kenner

(comparison_dominates_p): NE is dominated by LT, GT, LTU and GTU.

From-SVN: r6370
parent 1374b357
/* Optimize jump instructions, for GNU compiler. /* Optimize jump instructions, for GNU compiler.
Copyright (C) 1987, 88, 89, 91, 92, 1993 Free Software Foundation, Inc. Copyright (C) 1987, 88, 89, 91, 92, 93, 1994 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -2789,22 +2789,22 @@ comparison_dominates_p (code1, code2) ...@@ -2789,22 +2789,22 @@ comparison_dominates_p (code1, code2)
break; break;
case LT: case LT:
if (code2 == LE) if (code2 == LE || code2 == NE)
return 1; return 1;
break; break;
case GT: case GT:
if (code2 == GE) if (code2 == GE || code2 == NE)
return 1; return 1;
break; break;
case LTU: case LTU:
if (code2 == LEU) if (code2 == LEU || code2 == NE)
return 1; return 1;
break; break;
case GTU: case GTU:
if (code2 == GEU) if (code2 == GEU || code2 == NE)
return 1; return 1;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment