[flang-commits] [mlir] [flang] WIP : [Flang][MLIR][OpenMP] Delayed privatisation of index variables (PR #75836)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Thu Dec 21 08:05:05 PST 2023


kiranchandramohan wrote:

This is an alternative to https://github.com/llvm/llvm-project/pull/74843. 

But looks like this patch alone is not sufficient. But we can change the codegen of worksharing loop to emit the alloca in the parallel body function. Alternatively, since the alloca for the index variable is being materialized late, we can add the lifetime start and end at the point. @skatrak 

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


More information about the flang-commits mailing list