[flang-commits] [flang] e74fc39 - [Flang][OpenMP] Fix broken simd aligned lowering unit tests
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Tue Jul 9 03:33:28 PDT 2024
Author: Sergio Afonso
Date: 2024-07-09T11:33:15+01:00
New Revision: e74fc39a25a21963e2893f8ae5e078c009bf7ace
URL: https://github.com/llvm/llvm-project/commit/e74fc39a25a21963e2893f8ae5e078c009bf7ace
DIFF: https://github.com/llvm/llvm-project/commit/e74fc39a25a21963e2893f8ae5e078c009bf7ace.diff
LOG: [Flang][OpenMP] Fix broken simd aligned lowering unit tests
Added:
Modified:
flang/test/Lower/OpenMP/distribute-simd.f90
flang/test/Lower/OpenMP/wsloop-simd.f90
Removed:
################################################################################
diff --git a/flang/test/Lower/OpenMP/distribute-simd.f90 b/flang/test/Lower/OpenMP/distribute-simd.f90
index 545037b7791b8..a43600143dc49 100644
--- a/flang/test/Lower/OpenMP/distribute-simd.f90
+++ b/flang/test/Lower/OpenMP/distribute-simd.f90
@@ -15,7 +15,7 @@ subroutine distribute_simd_aligned(A)
! CHECK-SAME: {
! CHECK-NEXT: omp.simd
! CHECK-SAME: aligned({{.*}})
- !$omp distribute simd aligned(A)
+ !$omp distribute simd aligned(A:256)
do index_ = 1, 10
call c_test_call(A)
end do
diff --git a/flang/test/Lower/OpenMP/wsloop-simd.f90 b/flang/test/Lower/OpenMP/wsloop-simd.f90
index e331f1ba15f0e..899ab59714f14 100644
--- a/flang/test/Lower/OpenMP/wsloop-simd.f90
+++ b/flang/test/Lower/OpenMP/wsloop-simd.f90
@@ -13,7 +13,7 @@ subroutine do_simd_aligned(A)
! CHECK-SAME: {
! CHECK-NEXT: omp.simd
! CHECK-SAME: aligned({{.*}})
- !$omp do simd aligned(A)
+ !$omp do simd aligned(A:256)
do index_ = 1, 10
call c_test_call(A)
end do
More information about the flang-commits
mailing list