Commit 16472ec4 by Segher Boessenkool

rs6000: Remove no longer correct assert

After the simplify-rtx patch, we can now be asked about conditions we
wouldn't be asked about before.  This is perfectly fine, except we
have a little over-eager assert.  Remove that one.


	* config/rs6000/rs6000.c (validate_condition_mode): Don't assert for
	valid conditions.

From-SVN: r277936
parent c01bd174
2019-11-08 Jakub Jelinek <jakub@redhat.com> 2019-11-07 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.c (validate_condition_mode): Don't assert for
valid conditions.
2019-11-07 Jakub Jelinek <jakub@redhat.com>
* ipa-utils.c (ipa_merge_profiles): Fix fprintf format string * ipa-utils.c (ipa_merge_profiles): Fix fprintf format string
typo - mistmatch -> mismatch. typo - mistmatch -> mismatch.
...@@ -10250,14 +10250,6 @@ validate_condition_mode (enum rtx_code code, machine_mode mode) ...@@ -10250,14 +10250,6 @@ validate_condition_mode (enum rtx_code code, machine_mode mode)
&& code != UNGT && code != UNLT && code != UNGT && code != UNLT
&& code != UNGE && code != UNLE)); && code != UNGE && code != UNLE));
/* These should never be generated except for
flag_finite_math_only. */
gcc_assert (mode != CCFPmode
|| flag_finite_math_only
|| (code != LE && code != GE
&& code != UNEQ && code != LTGT
&& code != UNGT && code != UNLT));
/* These are invalid; the information is not there. */ /* These are invalid; the information is not there. */
gcc_assert (mode != CCEQmode || code == EQ || code == NE); gcc_assert (mode != CCEQmode || code == EQ || code == NE);
} }
......
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