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

Tarun Prabhu via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Jul 13 15:31:07 PDT 2022


tarunprabhu updated this revision to Diff 444438.
tarunprabhu added a comment.

Create the call to the MLIR `ctpop`, `leadz` and `trailz` instructions directly instead of using `genMathOp`.

Use the flang driver in the tests.


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

https://reviews.llvm.org/D129584

Files:
  flang/lib/Lower/IntrinsicCall.cpp
  flang/test/Lower/Intrinsics/leadz.f90
  flang/test/Lower/Intrinsics/popcnt.f90
  flang/test/Lower/Intrinsics/poppar.f90
  flang/test/Lower/Intrinsics/trailz.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129584.444438.patch
Type: text/x-patch
Size: 15457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220713/01d18944/attachment-0001.bin>


More information about the flang-commits mailing list