[flang-commits] [flang] [mlir] [flang][openmp] Changes for invoking scan Op (PR #123254)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Fri Jan 24 07:04:37 PST 2025
================
@@ -0,0 +1,34 @@
+!RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s
+
+subroutine inclusive_scan
+ implicit none
+ integer, parameter :: n = 100
+ integer a(n), b(n)
+ integer x, k
+
+ !CHECK: omp.wsloop reduction(mod: inscan, {{.*}}) {
----------------
skatrak wrote:
I'd personally prefer not doing that, because it makes the test easily break for unrelated changes in representation and lowering. But feel free to leave it in if you prefer, I don't feel that strongly about it and there are a few other tests like this in the same directory.
https://github.com/llvm/llvm-project/pull/123254
More information about the flang-commits
mailing list