tblah wrote: > Does this also work with composite omp.distribute + omp.wsloop loops? Thanks for taking a look. Yes it does work correctly. I have added a test. See the branches from the cancel block. https://github.com/llvm/llvm-project/pull/137194