This is an archive of the discontinued LLVM Phabricator instance.

[flang] Implement IPARITY, PARITY, and FINDLOC reductions
ClosedPublic

Authored by klausler on Apr 20 2021, 9:22 AM.

Details

Summary

Define APIs for, and implement, these three more recently-introduced
standard reduction transformational intrinsic functions to the runtime.

Diff Detail

Event Timeline

klausler created this revision.Apr 20 2021, 9:22 AM
klausler requested review of this revision.Apr 20 2021, 9:22 AM
PeteSteinfeld accepted this revision.Apr 20 2021, 9:44 AM

Other than the typo in .../runtime/reduction.h, all builds, tests, and looks good.

flang/runtime/reduction.h
147

While looking at this file, I noticed a typo on line 27. "casse" should be "cases". Since you're updating this file, now is a good time to fix it.

This revision is now accepted and ready to land.Apr 20 2021, 9:44 AM

You bet, will fix that comment before pushing. Thanks!

This revision was landed with ongoing or failed builds.Apr 20 2021, 12:27 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2021, 12:27 PM