[flang-commits] [flang] [flang][acc] Implement cache directive lowering (PR #174897)

via flang-commits flang-commits at lists.llvm.org
Fri Jan 9 08:37:55 PST 2026


================
@@ -0,0 +1,430 @@
+! This test checks lowering of OpenACC cache directive.
----------------
khaki3 wrote:

Thanks for the suggestion. I've added two more tests. Regarding the cache directive outside any loop, it causes a semantic error, which conforms to the OpenACC spec. This is already tested in https://github.com/llvm/llvm-project/blob/main/flang/test/Semantics/OpenACC/acc-cache-validity.f90.

https://github.com/llvm/llvm-project/pull/174897


More information about the flang-commits mailing list