aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2023-10-16 13:39:04 +0200
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2023-10-16 13:39:04 +0200
commitd6ebe61889732afaf2e8fbf1c1fcc4a5486a5f93 (patch)
tree79cf803b97440755cccba35e1d61cc100cd4dbcc /gcc/tree-pass.h
parenta5fe9f063de64aa2755c9ae9e90ed1ff64ee0f47 (diff)
downloadgcc-d6ebe61889732afaf2e8fbf1c1fcc4a5486a5f93.zip
gcc-d6ebe61889732afaf2e8fbf1c1fcc4a5486a5f93.tar.gz
gcc-d6ebe61889732afaf2e8fbf1c1fcc4a5486a5f93.tar.bz2
s390: Fix expander popcountv8hi2_vx
The normal form of a CONST_INT which represents an integer of a mode with fewer bits than in HOST_WIDE_INT is sign extended. This even holds for unsigned integers. This fixes an ICE during cse1 where we bail out at rtl.h:2297 since INTVAL (x.first) == sext_hwi (INTVAL (x.first), precision) does not hold. gcc/ChangeLog: * config/s390/vector.md (popcountv8hi2_vx): Sign extend each unsigned vector element.
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions