diff options
author | Jakub Jelinek <jakub@redhat.com> | 2013-04-08 10:20:39 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-04-08 10:20:39 +0200 |
commit | 401f3a81a6744d27083b8dc65460b5b3e37d3c3a (patch) | |
tree | 77ea0cbf6db3539a8026292020faae8c681fbc6f /gcc/tree-vect-loop.c | |
parent | 03ed99a89eff22949d9983cb70092127a7a0c190 (diff) | |
download | gcc-401f3a81a6744d27083b8dc65460b5b3e37d3c3a.zip gcc-401f3a81a6744d27083b8dc65460b5b3e37d3c3a.tar.gz gcc-401f3a81a6744d27083b8dc65460b5b3e37d3c3a.tar.bz2 |
tree-loop-distribution.c (const_with_all_bytes_same): New function.
* tree-loop-distribution.c (const_with_all_bytes_same): New function.
(generate_memset_builtin): Only handle integer_all_onesp as -1 val if
TYPE_PRECISION is equal to mode bitsize. Use const_with_all_bytes_same
if possible to compute val.
(classify_partition): Verify CONSTRUCTOR doesn't have any elts.
For QImode integers don't require anything about precision. Use
const_with_all_bytes_same to find out if the constant doesn't have
repeated bytes in it.
* gcc.dg/pr56837.c: New test.
* gcc.dg/tree-ssa/ldist-19.c: Don't check for
"generated memset minus one".
From-SVN: r197568
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions