Follow up to r17-2354-g10f6223d833, which changed the behavior of
vec_duplicate. The LoongArch architecture testcase need adjustments to
accommodate this change.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/vector/lasx/lasx-vec-construct-opt.c:
Adjust testcase.
---
.../gcc.target/loongarch/vector/lasx/lasx-vec-construct-opt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/gcc/testsuite/gcc.target/loongarch/vector/lasx/lasx-vec-construct-opt.c
b/gcc/testsuite/gcc.target/loongarch/vector/lasx/lasx-vec-construct-opt.c
index 487816a483f..1af9227d010 100644
--- a/gcc/testsuite/gcc.target/loongarch/vector/lasx/lasx-vec-construct-opt.c
+++ b/gcc/testsuite/gcc.target/loongarch/vector/lasx/lasx-vec-construct-opt.c
@@ -26,7 +26,7 @@ vec_construct_v4i64 ()
/* Remove some unnecessary vinsgr2vr.w as the corresponding elements
have already been set. */
/* { dg-final { scan-assembler-not "v8i32:.*\tvinsgr2vr\\.w.*v8i32" } } */
-/* { dg-final { scan-assembler-times "v8i32:.*\txvreplgr2vr\\.w.*v8i32" 1 } }
*/
+/* { dg-final { scan-assembler-times "v8i32:.*\txvldrepl\\.w.*v8i32" 1 } } */
v8i32
vec_construct_v8i32 ()
{
--
2.20.1