[flang-commits] [flang] b5f7852 - [flang][openacc] Fix acc-declare test
Valentin Clement via flang-commits
flang-commits at lists.llvm.org
Fri Jul 28 10:17:41 PDT 2023
Author: Valentin Clement
Date: 2023-07-28T10:17:28-07:00
New Revision: b5f7852c224e4ce7fd36f6f861c5d4e427254fbc
URL: https://github.com/llvm/llvm-project/commit/b5f7852c224e4ce7fd36f6f861c5d4e427254fbc
DIFF: https://github.com/llvm/llvm-project/commit/b5f7852c224e4ce7fd36f6f861c5d4e427254fbc.diff
LOG: [flang][openacc] Fix acc-declare test
Added:
Modified:
flang/test/Lower/OpenACC/acc-declare.f90
Removed:
################################################################################
diff --git a/flang/test/Lower/OpenACC/acc-declare.f90 b/flang/test/Lower/OpenACC/acc-declare.f90
index ea5195977fb9bd..325f152c392044 100644
--- a/flang/test/Lower/OpenACC/acc-declare.f90
+++ b/flang/test/Lower/OpenACC/acc-declare.f90
@@ -81,7 +81,7 @@ module acc_declare_device_link_test
! CHECK-LABEL: acc.global_ctor @_QMacc_declare_device_link_testEdata1_acc_ctor {
! CHECK: %[[GLOBAL_ADDR:.*]] = fir.address_of(@_QMacc_declare_device_link_testEdata1) {acc.declare = #acc.declare<dataClause = acc_declare_link>} : !fir.ref<!fir.array<5000xi32>>
-! CHECK: %[[LINK:.*]] = acc.declare_link varPtr(%[[GLOBAL_ADDR]] : !fir.ref<!fir.array<5000xi32>>) -> !fir.ref<!fir.array<5000xi32>> {name = "data1"}
+! CHECK: %[[LINK:.*]] = acc.declare_link varPtr(%[[GLOBAL_ADDR]] : !fir.ref<!fir.array<5000xi32>>) -> !fir.ref<!fir.array<5000xi32>> {name = "data1", structured = false}
! CHECK: acc.declare_enter dataOperands(%[[LINK]] : !fir.ref<!fir.array<5000xi32>>)
! CHECK: acc.terminator
! CHECK: }
More information about the flang-commits
mailing list