[flang-commits] [flang] [flang] Allow lowering of sub-expressions to be overridden (PR #69944)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Mon Oct 23 15:01:25 PDT 2023


kiranchandramohan wrote:

> which in some cases is causing verification failures because this is generated in the middle of an omp.atomic.capture.

I guess the failures are because the OpenMP capture statements do not expect any statements other than `omp.atomic.read`, `omp.atomic.write` or `omp.atomic.update`. In these cases, the hoisting for the expression can go above the `omp.atomic.capture`.

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


More information about the flang-commits mailing list