llvm-project
b0bc2f69 - [OpenMP][LLVM] Fix access to reduction args of `omp.parallel`. (#96426)

Commit
1 year ago
[OpenMP][LLVM] Fix access to reduction args of `omp.parallel`. (#96426) Fix for Fujitsu test suite test: 0275_0032.f90. The MLIR to LLVM translation logic assumed that reduction arguments to an `omp.parallel` op are always the last set of arguments to the op. However, this is a wrong assumption since private args come afterward.
Author
Parents
Loading