[flang-commits] [flang] [flang] Add reduction semantics to fir.do_loop (PR #93934)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Mon Jun 3 09:00:02 PDT 2024


clementval wrote:

> I cannot find any case in which we need `fir.reduce`. The name of reduction symbols have to be declared, so we can always track their original names. I will directly put reduction variables instead.

Yeah I think it makes sense. In OpenACC dialect with have this extra op because the dialect is meant to be language agnostic. Here we know that we deal with Fortran so it should be fine. 

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


More information about the flang-commits mailing list