/* PR target/81622 */
/* { dg-do compile { target { powerpc*-*-linux* } } } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
/* { dg-require-effective-target powerpc_p9vector_ok } */
/* { dg-options "-mcpu=power9 -O2" } */

void
foo (void)
{
  __builtin_vec_ld (1, 2);	/* { dg-error "invalid parameter combination" } */
  __builtin_vec_cmpne (1, 2);	/* { dg-error "invalid parameter combination" } */
  __builtin_vec_st (1, 0, 5);	/* { dg-error "invalid parameter combination" } */
}
