view gcc/testsuite/gcc.dg/vect/bb-slp-div-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-additional-options "-msve-vector-bits=256" { target aarch64_sve } } */

int x[8];

void
f (void)
{
  x[0] /= 2;
  x[1] /= 3;
  x[2] /= 4;
  x[3] /= 5;
  x[4] /= 6;
  x[5] /= 7;
  x[6] /= 8;
  x[7] /= 9;
}

/* { dg-final { scan-tree-dump "basic block vectorized" "slp2" { xfail *-*-* } } } */