https://gcc.gnu.org/g:f056f23bd972f73038ecb5b556ee1603e8c51266

commit f056f23bd972f73038ecb5b556ee1603e8c51266
Author: Andrew Stubbs <[email protected]>
Date:   Tue Nov 10 09:49:53 2026 +0000

    Revert "fixup! openacc: Adjust loop lowering for AMD GCN"
    
    This reverts commit 183f71ca629b737344c2818700423ec65a4ad3a3.

Diff:
---
 gcc/omp-offload.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/omp-offload.cc b/gcc/omp-offload.cc
index 7010fb863f9e..7ef3fabe4211 100644
--- a/gcc/omp-offload.cc
+++ b/gcc/omp-offload.cc
@@ -928,8 +928,7 @@ oacc_xform_loop (gcall *call)
     }
 
   if (!chunking
-      && (!targetm.simt.vf
-         || targetm.simt.vf () == 1)
+      && !targetm.simt.vf
       && (mask & GOMP_DIM_MASK (GOMP_DIM_VECTOR)))
     {
       poly_uint64 max_vf = omp_max_vf (false);

Reply via email to