https://gcc.gnu.org/g:420ece6b2334bcbbd9da905866f2ca77d4b5fdae

commit r14-10004-g420ece6b2334bcbbd9da905866f2ca77d4b5fdae
Author: Thomas Schwinge <tschwi...@baylibre.com>
Date:   Tue Apr 16 14:10:15 2024 +0200

    GCN: Enable effective-target 'vect_long_long'
    
    ... as made apparent by a number of unexpectedly UNSUPPORTED test cases, 
which
    now all turn into PASS, with just one exception:
    
        PASS: gcc.dg/vect/vect-early-break_124-pr114403.c (test for excess 
errors)
        PASS: gcc.dg/vect/vect-early-break_124-pr114403.c execution test
        FAIL: gcc.dg/vect/vect-early-break_124-pr114403.c scan-tree-dump vect 
"LOOP VECTORIZED"
    
    ..., which needs to be looked into, separately.
    
            gcc/testsuite/
            * lib/target-supports.exp (check_effective_target_vect_long_long):
            Enable for GCN.

Diff:
---
 gcc/testsuite/lib/target-supports.exp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/lib/target-supports.exp 
b/gcc/testsuite/lib/target-supports.exp
index edce672c0e2..938fff9392c 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -7698,7 +7698,8 @@ proc check_effective_target_vect_long_long { } {
             || ([istarget riscv*-*-*]
                 && [check_effective_target_riscv_v])
             || ([istarget loongarch*-*-*]
-                && [check_effective_target_loongarch_sx])}}]
+                && [check_effective_target_loongarch_sx])
+            || [istarget amdgcn-*-*] }}]
 }

Reply via email to