Allows addition/multiplication reductions to be used with
real types by adding getReductionOperation() to OpenMP.cpp,
which can select either integer or floating-point instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can you add tests for real(kind=8) as well?
flang/test/Lower/OpenMP/wsloop-reduction-add.f90 | ||
---|---|---|
274 | Nit: newline |
Add an assertion for the types that this function works.