rs6000: Fix branch_comparison_operator
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 8 Nov 2019 14:53:42 +0000 (15:53 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Fri, 8 Nov 2019 14:53:42 +0000 (15:53 +0100)
commitfd14d6cbc4c82fd22a77d7c38ec37b5c8a97f23c
treee2d8d4ee4efa2e435bea0608a7a1001de65dc965
parent2afeb1ca38dbb7c8708272452417426e46b4d6ed
rs6000: Fix branch_comparison_operator

* config/rs6000/predicates.md (branch_comparison_operator): Allow only
the comparison codes that make sense for the mode used, and only the
codes that can be done with a single branch instruction.

From-SVN: r277976
gcc/ChangeLog
gcc/config/rs6000/predicates.md