diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2015-11-24 15:04:11 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2015-11-24 15:04:11 +0100 |
commit | 6b2f9bb6228bca4b610a6645a60e1557d65b14ef (patch) | |
tree | 4907a7710d2fae34943d6e1cb149c96f84c3a93f /gcc/tree-ssa-loop-im.c | |
parent | f768642887a807e7d1cde9c9b9a7ff5d49efdcb1 (diff) | |
download | gcc-6b2f9bb6228bca4b610a6645a60e1557d65b14ef.zip gcc-6b2f9bb6228bca4b610a6645a60e1557d65b14ef.tar.gz gcc-6b2f9bb6228bca4b610a6645a60e1557d65b14ef.tar.bz2 |
rs6000: Fix for and_operand oversight (PR68332, PR67677)
Calling rs6000_is_valid_and_mask on a reg instead of on a const_int is
not a good idea, as PR68332 and PR67677 as well as testing with
--enable-checking=yes,rtl show. Fix this.
PR target/66217
PR target/67677
PR target/68332
* config/rs6000/predicates.md (and_operand): Check that the operand
is a const_int before calling rs6000_is_valid_and_mask.
From-SVN: r230811
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions