llvm-project
f6071e96 - [FIR][OpenACC] fix loop order with generatePrivateInit (#155002)

Commit
21 days ago
[FIR][OpenACC] fix loop order with generatePrivateInit (#155002) When generating a loop nest to initialize a private array, the loop nest should run from the slowest dimension to the fastest dimension. When you get a shape from a SequenceType it is from fastest to slowest dimension. Reverse the the order. This makes it similar to how array syntax would get lowered.
Author
Parents
Loading