llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.19k stars 12.04k forks source link

[Flang] Fix cam4 performance issue #58597

Open kiranchandramohan opened 2 years ago

kiranchandramohan commented 2 years ago

cam4 benchmark performs poorly with Flang. The performance is almost six times slower when compared to other compilers. Investigate the performance issue.

Note 1: There is a correctness (possibly precision) issue with this benchmark for the ref size. Note 2: There is a compilation issue with this benchmark.

kiranchandramohan commented 1 year ago

HLFIR enablement will provide speedups for this benchmark. No other work planned for this now.

kiranchandramohan commented 1 year ago

HLFIR flow fixes most of the cam4 performance issue. This issue can be closed when we enable HLFIR by default.