aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2023-10-31 14:31:37 +0100
committerThomas Schwinge <thomas@codesourcery.com>2023-11-02 09:45:00 +0100
commit36a26298ec7dfca615d4ba411a3508d1287d6ce5 (patch)
treef5de8a9cf79b3a614c68916175cafa21f6475bb1 /gcc
parent1bb7d6f081023069944f1f46701adf3ed4c4029d (diff)
downloadgcc-36a26298ec7dfca615d4ba411a3508d1287d6ce5.zip
gcc-36a26298ec7dfca615d4ba411a3508d1287d6ce5.tar.gz
gcc-36a26298ec7dfca615d4ba411a3508d1287d6ce5.tar.bz2
Make GCN target effective-target 'vect_gather_load_ifn'
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/lib/target-supports.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index a5f393e..bc93f6e 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -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] }]
}