Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/pr97405-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=armv8.2-a+sve -O2" }
3 /* PR tree-optimization/97405 */
4 #include "arm_sve.h"
5
6 void
7 a (svuint8x3_t b, unsigned char *p, int c) {
8 if (c)
9 svst1_u8(svptrue_pat_b8(SV_VL16), p, svget3_u8(b, 1));
10 else
11 svst1_u8(svwhilelt_b8(6, 6), p, svget3_u8(b, 1));
12 }
13