llvm-project
542cba89 - [OpenACC][CIR] Handle firstprivate bounds recipe lowering (#161873)

Commit
2 days ago
[OpenACC][CIR] Handle firstprivate bounds recipe lowering (#161873) These work the same as the other two (private and reduction) except that the expression for the 'init' is a copy instead of a default/value init, and in a separate region. This patch gets all of that correct, and ensures we generate these as expected. There is a little extra work to make sure that the bounds-loop generation does 2 separate array index operations, otherwise this is very much like the reduction implementation.
Author
Parents
Loading