simd nontemporal construct is represented as a list of variables which have low locality accross simd iterations.
Added verifier of nontemporal clause. MLIR tests were updated to test correctness of MLIR definition of nontemporal clause.
Paths
| Differential D140553
[mlir][OpenMP] Add nontemporal clause definition to simd construct ClosedPublic Authored by domada on Dec 22 2022, 6:55 AM.
Details Summary simd nontemporal construct is represented as a list of variables which have low locality accross simd iterations. Added verifier of nontemporal clause. MLIR tests were updated to test correctness of MLIR definition of nontemporal clause.
Diff Detail Event TimelineHerald added subscribers: sstefan1, stephenneuendorffer, nicolasvasilache, jdoerfert. · View Herald Transcript domada added inline comments.
Comment Actions LGTM. The new format looks OK. The earlier one is probably more readable. At some point we will have to look into whether we can make all of this uniform. Hopefully, at that point there will be support for interleaving operands and types in a list (assuming this is not already there, have you checked?). This revision is now accepted and ready to land.Jan 17 2023, 3:21 AM Closed by commit rGe4ebe14fd16f: [mlir][OpenMP] Add nontemporal clause definition to simd construct (authored by domada). · Explain WhyJan 19 2023, 3:51 AM This revision was automatically updated to reflect the committed changes. domada marked an inline comment as done.
Revision Contents
Diff 487379 flang/lib/Lower/OpenMP.cpp
mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
mlir/test/Dialect/OpenMP/invalid.mlir
mlir/test/Dialect/OpenMP/ops.mlir
mlir/test/Target/LLVMIR/openmp-llvm.mlir
|