<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Prashanth N R</strong> <span dir="auto"><<a href="mailto:prashanth.nr@gmail.com">prashanth.nr@gmail.com</a>></span><br>Date: Sun, Jan 12, 2020 at 12:22 AM<br>Subject: FC : A MLIR+LLVM  based Fortran front end<br>To:  <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>><br></div><br><br><div dir="ltr">Hi-<div><br></div><div>In August we made an announcement  of "FC: A new fortran front end"  [1]. At that time to get an end-to-end solution, we made FC to emit LLVM IR directly.  At present, we have upgraded FC to emit MLIR. Currently the language supported is close to Fortran-95. Apart from 400+ unit test cases, out framework passes two SPEC-2017 benchmarks successfully.  Currently we are cleaning up the code and plan to open source the same in a week or so.</div><div><br></div><div>Apart from the front end changes, we have defined a new high level dialect in MLIR for representing Fortran. We have defined a new Loop Nest Optimization framework along with one Loop Nest Optimization in it for the time being. Also we have supported 4 OpenMP constructs and way to express the same in MLIR framework. </div><div><br></div><div>Entire code is in the spirit of LLVM. If the community is interested, we would like to work with the community and move forward. </div><div><br></div><div>thanks,</div><div>-Prashanth</div><div><br></div><div>PS: We did try to use F18 for a while and hit the issues raised in [2], [3].</div><div><br></div><div>1. <a href="http://lists.llvm.org/pipermail/llvm-dev/2019-August/134620.html" target="_blank">http://lists.llvm.org/pipermail/llvm-dev/2019-August/134620.html</a></div><div>2. <a href="http://lists.llvm.org/pipermail/llvm-dev/2020-January/138069.html" target="_blank">http://lists.llvm.org/pipermail/llvm-dev/2020-January/138069.html</a></div><div>3. <a href="http://lists.llvm.org/pipermail/flang-dev/attachments/20191202/6e7c1e51/attachment-0001.pdf" target="_blank">http://lists.llvm.org/pipermail/flang-dev/attachments/20191202/6e7c1e51/attachment-0001.pdf</a></div><div>OR <a href="http://lists.llvm.org/pipermail/flang-dev/2019-December/000089.html" target="_blank">http://lists.llvm.org/pipermail/flang-dev/2019-December/000089.html</a></div><div><br></div></div>
</div></div>