[flang-commits] [PATCH] D129584: Lower F08 bit-population count intrinsics

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jul 12 12:37:47 PDT 2022


klausler added inline comments.


================
Comment at: flang/lib/Lower/IntrinsicCall.cpp:3451
+// POPCNT
+mlir::Value IntrinsicLibrary::genPopcnt(mlir::Type resultType,
+                                        llvm::ArrayRef<mlir::Value> args) {
----------------
Most modern architectures support bit population count instructions; it would be better to use them where available.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129584/new/

https://reviews.llvm.org/D129584



More information about the flang-commits mailing list