From: Richard Sandiford Date: Fri, 4 Feb 2022 08:08:59 +0000 (+0000) Subject: aarch64: Add test for PR104092 X-Git-Tag: upstream/12.2.0~1652 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b6370295d1efaa563f6d8c45f1fb779c3db452e;p=platform%2Fupstream%2Fgcc.git aarch64: Add test for PR104092 gcc/testsuite/ PR middle-end/104092 * gcc.target/aarch64/sve/acle/general/pr104092.c: New test. --- diff --git a/gcc/testsuite/gcc.target/aarch64/sve/acle/general/pr104092.c b/gcc/testsuite/gcc.target/aarch64/sve/acle/general/pr104092.c new file mode 100644 index 0000000..c17ece7 --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/sve/acle/general/pr104092.c @@ -0,0 +1,7 @@ +/* { dg-options "-O2 -Wall" } */ + +#include + +svuint64_t bar(svbool_t pg, const uint64_t *addr) { + return svget2(svld2_u64(pg, addr), 0); +}