Previously COUNT would cast the mask input to logical<4> before passing it
to the runtime function, this has been changed to allow different types of logical.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D144867
[flang] Change COUNT intrinsic to support different kind logicals ClosedPublic Authored by SBallantyne on Feb 27 2023, 5:51 AM.
Details Summary Previously COUNT would cast the mask input to logical<4> before passing it
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 27 2023, 5:51 AM This revision is now accepted and ready to land.Feb 27 2023, 6:04 AM Closed by commit rG79dccded6900: [flang] Change COUNT intrinsic to support different kind logicals (authored by SBallantyne). · Explain WhyFeb 28 2023, 4:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 501087 flang/lib/Evaluate/fold-integer.cpp
flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
flang/test/Transforms/simplifyintrinsics.fir
|