[flang] Lower count intrinsic
authorValentin Clement <clementval@gmail.com>
Wed, 16 Mar 2022 13:38:32 +0000 (14:38 +0100)
committerValentin Clement <clementval@gmail.com>
Wed, 16 Mar 2022 13:41:03 +0000 (14:41 +0100)
commit6ed9d3a255a02244af890dffd0cdf26ddb8587c4
tree6f296fae76d912f146d02eb40e9663a5b72eb48c
parent8dca38d53480a6f1382bf0035f16a432dc7cc999
[flang] Lower count intrinsic

This patch adds lowering for the count intrinsic.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D121782

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: mleair <leairmark@gmail.com>
flang/lib/Lower/IntrinsicCall.cpp
flang/test/Lower/Intrinsics/count.f90 [new file with mode: 0644]