This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Fix total MAXLOC/MINLOC for non-integer data
ClosedPublic

Authored by klausler on Apr 22 2022, 2:32 PM.

Details

Summary

A template argument was hard-coded as the Integer type category
rather than properly forwarding the type category of the data for
type-specific instantiations of total (no DIM=) MAXLOC and MINLOC.
This broke total MAXLOC and MINLOC reductions for real and character
data.

Diff Detail

Event Timeline

klausler created this revision.Apr 22 2022, 2:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2022, 2:32 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Apr 22 2022, 2:32 PM
This revision is now accepted and ready to land.Apr 25 2022, 11:52 AM