testsuite: Add check vect_unpack for pr117776.cc [PR117844]

Message ID 20241129093915.1203025-1-quic_apinski@quicinc.com
State Committed
Commit a31f66adf8ae695eac5809e99070eda2632662a2
Headers
Series testsuite: Add check vect_unpack for pr117776.cc [PR117844] |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gcc_build--master-arm fail Patch failed to apply

Commit Message

Andrew Pinski Nov. 29, 2024, 9:39 a.m. UTC
  I had missed that you need to check vect_unpack if you are
vectorizing a conversion from char to int.

Pushed as obvious after a quick test.

	PR testsuite/117844
gcc/testsuite/ChangeLog:

	* g++.dg/vect/pr117776.cc: Check vect_unpack.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
---
 gcc/testsuite/g++.dg/vect/pr117776.cc | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/gcc/testsuite/g++.dg/vect/pr117776.cc b/gcc/testsuite/g++.dg/vect/pr117776.cc
index cbb8079bd91..71eb88c0c42 100644
--- a/gcc/testsuite/g++.dg/vect/pr117776.cc
+++ b/gcc/testsuite/g++.dg/vect/pr117776.cc
@@ -1,5 +1,6 @@ 
 // { dg-do compile }
 // { dg-require-effective-target vect_int }
+// { dg-require-effective-target vect_unpack }
 
 // PR tree-optimization/117776