[flang-commits] [flang] [llvm] [mlir] [MLIR][OpenMP] Lowering nontemporal clause to LLVM IR for SIMD directive (PR #118751)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Mon Apr 7 07:12:09 PDT 2025
================
@@ -81,6 +81,13 @@ def DoConcurrentConversionPass : Pass<"omp-do-concurrent-conversion", "mlir::fun
];
}
+def LowerNontemporalPass : Pass<"lower-nontemporal", "mlir::func::FuncOp"> {
----------------
tblah wrote:
It was only a hypothetical example - I can't think of a case where we would do simd not inside of a function either.
Still, changing this to
```
def LowerNontemporalPass : Pass<"lower-nontemporal", "mlir::omp::SimdOp"> {
```
should be a better fit with the intention of the pass, because it will not modify anything outside of the simd op
https://github.com/llvm/llvm-project/pull/118751
More information about the flang-commits
mailing list