diff options
author | segher <segher@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-24 14:04:11 +0000 |
---|---|---|
committer | segher <segher@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-24 14:04:11 +0000 |
commit | d49447530a24e85bbc8f3dd18b038c7a8f729289 (patch) | |
tree | 4907a7710d2fae34943d6e1cb149c96f84c3a93f /gcc/tree-ssa-loop-im.c | |
parent | fd9be551b990a618b682c0c93788d4c024f82afe (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230811 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions