]> gcc.gnu.org Git - gcc.git/commitdiff
Make GCN target effective-target 'vect_gather_load_ifn'
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 31 Oct 2023 13:31:37 +0000 (14:31 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 2 Nov 2023 08:45:00 +0000 (09:45 +0100)
This fixes:

     PASS: gcc.dg/vect/vect-gather-2.c (test for excess errors)
    -FAIL: gcc.dg/vect/vect-gather-2.c scan-tree-dump vect "different gather base"
    -FAIL: gcc.dg/vect/vect-gather-2.c scan-tree-dump vect "different gather scale"
     PASS: gcc.dg/vect/vect-gather-2.c scan-tree-dump-not vect "Loop contains only SLP stmts"

..., and enables other test cases.

gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_vect_gather_load_ifn): True for GCN
target.

gcc/testsuite/lib/target-supports.exp

index a5f393e1c1031b5f6fcc205dc91c1194b569a615..bc93f6e158bb36606b60afe4ae3fe072ab481f2f 100644 (file)
@@ -8773,6 +8773,7 @@ proc check_effective_target_vect_masked_store { } {
 
 proc check_effective_target_vect_gather_load_ifn { } {
     return [expr { [check_effective_target_aarch64_sve]
+                  || [istarget amdgcn*-*-*]
                   || [check_effective_target_riscv_v] }]
 }
 
This page took 0.079151 seconds and 5 git commands to generate.